473,809 Members | 2,763 Online
Bytes | Software Development & Data Engineering Community
+ 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 2545
me
"Viken Karaguesian" <vi****@aol.com > wrote in message
news:11******** *************@l 41g2000cwc.goog legroups.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.javas cript 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.publi c.frontpage.cli ent 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.publi c.frontpage.cli ent 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 programmaticall y 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 programmaticall y 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 programmaticall y 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****@NOSPAMc omcast.net> wrote in message
news:Op******** ************@co mcast.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
4756
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 not sure if anyone has been able to accomplish this in a relatively non-trivial manner, but if someone has, please let me know. My deadline is approaching. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in...
2
13192
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 BoxText. Both of them happily appeared in the Properties window when I dropped my control onto another control. But then I remembered that Microsoft wants to standardize on using the property name "Text" for things that look like text. I decided that...
9
1729
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
1963
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. However, their are a few that should be set only in code at run-time. How do I prevent these properties from showing up in the Properties window at design time. Thanks for any replys. -- Dennis in Houston
3
1179
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 to True, the other is toggled to False.? I'm new to using Design Time Property Editors so would appreciate any help. -- Dennis in Houston
27
1863
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 placed on a form. That's confusing. How can I make that property not show in the properties window?
2
1266
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 window, and can be used to set the properties of a control, esp command buttom. Anyone out there know how this is done, I just can't remeber and its eating me. tks
2
5059
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
809
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 thing in the .NET framework or should i implemet it my self as a user control? (if there is no such thing, how can i implement it?) Thanks.
1
954
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
9721
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10635
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10378
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7653
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
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 we have to send another system
2
3861
muto222
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.