473,473 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How can I control the properties of a new window??

Hello all,

I just discovered this NG, so you'll probably be getting some questions
that have been brewing inside me for a while :>) I'm just an amateur
who enjoys making websites. I use FrontPage (please don't kill me!) to
do a lot of my web design. Lately, though, I've been doing more CSS
based stuff and more manaul coding. Here's my latest question that's
been brewing:

I'd like to use FrontPage's "Auto Thumbnail" utility, but it has one
weakness that drives me nuts: when you click on a thumbnailed image,
the bigger image shows up in a window that has a white background and
it is always oriented top-left.

Unfortunately, the sites that I want to use this for will have black or
colored backrounds and, to me, it doesn't look good when you have a
plain white back ground in one frame and the other frame is colored.

Is there a way I can use HTML commands (or any commands) to set the
background properties and orient the picture in the new window?

I DON'T want to make a separate page for each image, there are too many
images...

Here's a sample of the FrontPage-generated HTML for an Auto-Thumbnailed
image:

<a href="images/waltham/Waltham14.jpg">
<img border="1" src="images/waltham/Waltham14_small.jpg"
xthumbnail-orig-image="images/waltham/Waltham14.jpg"></a>

When I click on the image, I want the full-sized image to pop up
top-center in a window with a black background. Can this be done?

Viken K.

P.S. If you want to see what I've done till now here are my sites:

www.sayatnova.com - This is the first site I ever made and am
continually trying to improve it.the Coding is all FrontPage generated,
with Javascript inserted by me.

http://home.comcast/net/~vikenk - this is my own site. I just
redesigned it. It's based almost entirely on CSS and manual coding.
This is my first attempt at making a site using mostly CSS.

www.abakadanceschool.com - Another site that I made. Deliberately
simple.

Jul 23 '05 #1
9 2526
me
"Viken Karaguesian" <vi****@aol.com> wrote in message
news:11*********************@l41g2000cwc.googlegro ups.com...
Hello all,

I just discovered this NG, so you'll probably be getting some questions
that have been brewing inside me for a while :>) I'm just an amateur
who enjoys making websites. I use FrontPage (please don't kill me!) to
do a lot of my web design. Lately, though, I've been doing more CSS
based stuff and more manaul coding. Here's my latest question that's
been brewing:

I'd like to use FrontPage's "Auto Thumbnail" utility, but it has one
weakness that drives me nuts: when you click on a thumbnailed image,
the bigger image shows up in a window that has a white background and
it is always oriented top-left.

Unfortunately, the sites that I want to use this for will have black or
colored backrounds and, to me, it doesn't look good when you have a
plain white back ground in one frame and the other frame is colored.

Is there a way I can use HTML commands (or any commands) to set the
background properties and orient the picture in the new window?

I DON'T want to make a separate page for each image, there are too many
images...

Here's a sample of the FrontPage-generated HTML for an Auto-Thumbnailed
image:

<a href="images/waltham/Waltham14.jpg">
<img border="1" src="images/waltham/Waltham14_small.jpg"
xthumbnail-orig-image="images/waltham/Waltham14.jpg"></a>

When I click on the image, I want the full-sized image to pop up
top-center in a window with a black background. Can this be done?
I used JavaScript to do that and I did have to make a seperate page for
every image. You might want to ask this question in comp.lang.javascript I
don't claim to be an expert at it.
Viken K.

P.S. If you want to see what I've done till now here are my sites:

www.sayatnova.com - This is the first site I ever made and am
continually trying to improve it.the Coding is all FrontPage generated,
with Javascript inserted by me.

http://home.comcast/net/~vikenk - this is my own site. I just
redesigned it. It's based almost entirely on CSS and manual coding.
This is my first attempt at making a site using mostly CSS.
Change the slash between comcast and net to a dot. ;-) I like the script for
the photo's that cause them to enlarge while the others disappear, is that
somthing that you did with FP?
www.abakadanceschool.com - Another site that I made. Deliberately
simple.


I don't use FP but you might try the following add-in named Spawn:
http://www.jimcoaddins.com/addins.aspx
I found it in microsoft.public.frontpage.client You might ask your question
there too.
Good Luck,
me
Jul 23 '05 #2
You can't, and what's more any attempt to do so will probably break
your site for a significant number of people.

--

Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
Jul 23 '05 #3
> Change the slash between comcast and net to a dot. ;-) I like the script
for
the photo's that cause them to enlarge while the others disappear, is that
somthing that you did with FP?
No. I don't know how to do Java yet, but I can figure out how to configure
an applet or JavaScript. I found it onlione and downloaded it.
www.abakadanceschool.com - Another site that I made. Deliberately
simple.


I don't use FP but you might try the following add-in named Spawn:
http://www.jimcoaddins.com/addins.aspx
I found it in microsoft.public.frontpage.client You might ask your
question
there too.
Good Luck,
me

Jul 23 '05 #4
Viken Karaguesian wrote:
I use FrontPage (please don't kill me!)
We won't, but frontpage seems to be doing a good job of killing your
websites.
http://validator.w3.org/check?verbos...net/%7Evikenk/
I'd like to use FrontPage's "Auto Thumbnail" utility, but it has one
weakness that drives me nuts: when you click on a thumbnailed image,
the bigger image shows up in a window that has a white background and
it is always oriented top-left.
In Opera, the image is centered, but there is nothing you can do to
change it in any browser, without creating a new page that contains the
image and linking to it.
I DON'T want to make a separate page for each image, there are too many
images...
<a href="images/waltham/Waltham14.jpg">
<img border="1" src="images/waltham/Waltham14_small.jpg"
xthumbnail-orig-image="images/waltham/Waltham14.jpg"></a>
All that is doing, is linking directly to the image, so it is up to the
user agent to display it in whatever kind of window it likes, and in
whatever position it likes. However, what is that xthumbnail-orig-image
attribute doing there? That's not one I've ever seen before, so I guess
it's just another way FP is killing your site.
When I click on the image, I want the full-sized image to pop up
top-center in a window with a black background. Can this be done?


Surely, you don't want a popup window, they're exceptionally irritating
for users, which is why popup blockers were invented!

The only way to get a black background, would be to create a page for
each image. However, there's no need to manually create each page, you
should be able to do it with server side processing using PHP or
whatever language your host supports. You could create a template page,
which automatically includes the correct image based on parameter in a
query string.

eg. if you link to a PHP page like this:
image.php?image=something.jpg
The PHP could automatically generate the page containing

<img src="something.jpg" alt="..." height="..." width="...">

The difficulty with that will be programmatically determining
appropriate alt text for each image, but there are ways to do it. You
would have to ask in a server side processing related group for more
information.

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Jul 23 '05 #5
Thanks for the reply!

I'm sure that FrontPage's auto coding is quite....um.....proprietary :>)
When I first started, FrontPage made it easy because I could focus on
WYSIWIG design and not worry about coding. These days, though, I'm becoming
more interested in manual coding and learning how to script.
"Lachlan Hunt" <sp***********@gmail.com> wrote in message
news:42***********************@per-qv1-newsreader-01.iinet.net.au...
Viken Karaguesian wrote:
I use FrontPage (please don't kill me!)


We won't, but frontpage seems to be doing a good job of killing your
websites.
http://validator.w3.org/check?verbos...net/%7Evikenk/
I'd like to use FrontPage's "Auto Thumbnail" utility, but it has one
weakness that drives me nuts: when you click on a thumbnailed image,
the bigger image shows up in a window that has a white background and
it is always oriented top-left.


In Opera, the image is centered, but there is nothing you can do to change
it in any browser, without creating a new page that contains the image and
linking to it.
I DON'T want to make a separate page for each image, there are too many
images...
<a href="images/waltham/Waltham14.jpg">
<img border="1" src="images/waltham/Waltham14_small.jpg"
xthumbnail-orig-image="images/waltham/Waltham14.jpg"></a>


All that is doing, is linking directly to the image, so it is up to the
user agent to display it in whatever kind of window it likes, and in
whatever position it likes. However, what is that xthumbnail-orig-image
attribute doing there? That's not one I've ever seen before, so I guess
it's just another way FP is killing your site.
When I click on the image, I want the full-sized image to pop up
top-center in a window with a black background. Can this be done?


Surely, you don't want a popup window, they're exceptionally irritating
for users, which is why popup blockers were invented!

The only way to get a black background, would be to create a page for each
image. However, there's no need to manually create each page, you should
be able to do it with server side processing using PHP or whatever
language your host supports. You could create a template page, which
automatically includes the correct image based on parameter in a query
string.

eg. if you link to a PHP page like this:
image.php?image=something.jpg
The PHP could automatically generate the page containing

<img src="something.jpg" alt="..." height="..." width="...">

The difficulty with that will be programmatically determining appropriate
alt text for each image, but there are ways to do it. You would have to
ask in a server side processing related group for more information.

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox

Jul 23 '05 #6
Viken Karaguesian wrote:
Thanks for the reply!

I'm sure that FrontPage's auto coding is quite....um.....proprietary :>)
When I first started, FrontPage made it easy because I could focus on
WYSIWIG design and not worry about coding. These days, though, I'm becoming
more interested in manual coding and learning how to script.

Basic PHP is pretty easy to learn and is available on all platforms. If
you use XP Pro you can start an internet server right now and have PHP
running on localhost within an hour or two :)
Jul 23 '05 #7
"Lachlan Hunt" <sp***********@gmail.com> wrote in message
news:42***********************@per-qv1-newsreader-01.iinet.net.au...
Viken Karaguesian wrote:
I use FrontPage (please don't kill me!)


We won't, but frontpage seems to be doing a good job of killing your
websites.
http://validator.w3.org/check?verbos...net/%7Evikenk/
I DON'T want to make a separate page for each image, there are too many
images...
<a href="images/waltham/Waltham14.jpg">
<img border="1" src="images/waltham/Waltham14_small.jpg"
xthumbnail-orig-image="images/waltham/Waltham14.jpg"></a>


All that is doing, is linking directly to the image, so it is up to the
user agent to display it in whatever kind of window it likes, and in
whatever position it likes. However, what is that xthumbnail-orig-image
attribute doing there? That's not one I've ever seen before, so I guess
it's just another way FP is killing your site.
When I click on the image, I want the full-sized image to pop up
top-center in a window with a black background. Can this be done?


Surely, you don't want a popup window, they're exceptionally irritating
for users, which is why popup blockers were invented!

The only way to get a black background, would be to create a page for each
image. However, there's no need to manually create each page, you should
be able to do it with server side processing using PHP or whatever
language your host supports. You could create a template page, which
automatically includes the correct image based on parameter in a query
string.

eg. if you link to a PHP page like this:
image.php?image=something.jpg
The PHP could automatically generate the page containing

<img src="something.jpg" alt="..." height="..." width="...">

The difficulty with that will be programmatically determining appropriate
alt text for each image, but there are ways to do it. You would have to
ask in a server side processing related group for more information.

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox



Hi,

I'm new here, too. Been lurking.

Viken's pages look decent for a newbie & I give him/her credit for coding
with CSS. His sites aren't being "killed" just because they don't validate.
I was able to view them. Just make those changes, Viken, so they validate.

Also, pop-up advertisements are indeed irritating, but I like smallish
images as popups. I mean, I liked them on other sites, so I incorporate them
on my customers' sites. There's a world of difference between an unsolicited
pop-up advertisement & providing a link for your visitor to pop up an image.
It is a pain to create separate HTML files for each popup image, but you
have control over the size of the pop-up that way.

Since Viken wants large images, a separate HTML file for each is the way to
go. I just checked your site & you don't have THAT many images. (BTW, the
photos are quite nice:) Does Comcast let you create subdirectories? Doing
so would help you stay organized when creating all those HTML pages. Create
a folder for "Images," then, inside of that folder, put folders for
"Foliage" "People" etc.

If you get hundreds of photos, you may want to check out
http://www.shutterfly.com A customer of mine put his Sports Photography
images there.

Thanks,

Carla
Jul 23 '05 #8
> Hi,

I'm new here, too. Been lurking.

Viken's pages look decent for a newbie & I give him/her credit for coding
with CSS. His sites aren't being "killed" just because they don't
validate. I was able to view them. Just make those changes, Viken, so they
validate.

Also, pop-up advertisements are indeed irritating, but I like smallish
images as popups. I mean, I liked them on other sites, so I incorporate
them on my customers' sites. There's a world of difference between an
unsolicited pop-up advertisement & providing a link for your visitor to
pop up an image. It is a pain to create separate HTML files for each popup
image, but you have control over the size of the pop-up that way.

Since Viken wants large images, a separate HTML file for each is the way
to go. I just checked your site & you don't have THAT many images. (BTW,
the photos are quite nice:) Does Comcast let you create subdirectories?
Doing so would help you stay organized when creating all those HTML pages.
Create a folder for "Images," then, inside of that folder, put folders for
"Foliage" "People" etc.

If you get hundreds of photos, you may want to check out
http://www.shutterfly.com A customer of mine put his Sports Photography
images there.

Thanks,

Carla


Hi Carla,

Thanks for the compliments. As far as the pop-up images are concerned: It's
not so much my own site, but the other site that I run (www.sayatnova.com)
that has too many images. The pictures section of that site has at least 200
pictures already, and that would be too much of a pain in the ass to create
a separate html file for each picture. It would also add many more steps
when I create new galleries - arrange the pictures,create the thimbnails,
create the html pages for each picture, change each hyperlink. I'm looking
for quick-n-easy here :>)

I like Lachlan's idea about using server-side PHP script to create a
template page. Now, I only have to find out if our host supports PHP, then
I'll have to go and learn how to do it!

Viken.

P.S.: I'm a guy :>) I know it's hard to determine someones gender by
looking at a name you've never seen.
Jul 23 '05 #9

"Viken Karaguesian" <vi****@NOSPAMcomcast.net> wrote in message
news:Op********************@comcast.com...

<snip>

I'm looking
for quick-n-easy here :>)

I like Lachlan's idea about using server-side PHP script to create a
template page. Now, I only have to find out if our host supports PHP, then
I'll have to go and learn how to do it!

Viken.


<snip>

Lachlan's idea is great. It just seemed a little advanced, but you appear up
to the challenge. Good luck!

Carla
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: JMe9ka | last post by:
I've been gnawing at this problem for the past two days with little progress. My intent is to create a table or grid that looks and functions like the Properties window in Visual Studio.NET. I'm...
2
by: Rob Richardson | last post by:
Greetings! I just developed a little control I've wanted for ages. It links a textbox and a label into a single control. At first, I gave it a property named LabelText and another named...
9
by: PJ6 | last post by:
I'm sure it's some attribute I have to set but I can't find it. I'd like to be able to have my properties in my custom web user controls show up in the web forms designer. Is that possible? Paul
2
by: Dennis | last post by:
I have a control which I wrote that has, of course, numerous properties. These properties nicely show up at design time in the property window for the user to set their value at design time. ...
3
by: Dennis | last post by:
I have a user control with two boolean properties (AutoFit and AutoSize). Both can be set at design time but both cannot be True. How can I code this so that at Design Time, when the user sets one...
27
by: Just Me | last post by:
I made a Usercontrol that must have AutoScroll set to true when it is used. So I set it to True in the Load event. However the property still shows in the properties window when the control is...
2
by: Patrick | last post by:
I remeber seeing a sample on th e.net (and in fact i tried this too - but lost the source code), to achieve the following. Dropping a control onto a form, which is exactly like the properties...
2
by: Max2006 | last post by:
Hi, I have a user control with a public property like this: public string Text { get { return cboCountry.Text; } set { cboCountry.Text = value; } }
0
by: thesaturne | last post by:
Hi, I want to add to my application a control like the properties window in visual studio, i want it to be dynamic, that i would be able to add their properties of an object. Is there such a...
1
by: Andy B | last post by:
Is there a way to make properties of a web user control show up in the properties window?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.