First the simple stuff:
You can close the newly opened window by simply using this code:
<a href="#" onClick="window.close()">X</a>
(you wanted an X)
Now, the second part is a bit complicated. You'll need to get the size
of the image (either from the inventory or programmatically), and then
use that info as parameters to the window.open() function. I did it some
time back and if I'm on the right track, let me know and I'll find that
page and send the code to you.
Amrit
http://www.aboutwebdesigning.com
Michael Collins wrote:
Hi to all,
I'm not a web designer by trade, and I did not stay overnight at a HJ Hotel, so
I can't even say that I know what I'm doing...but let me ask you gurus a
question.
I have a niece in Europe who is an artist/painter (like a Titian, Rembrandt....
and not like house painter.)
I built this web site for her www.lucianaart.ro , still under construction, and
I have some questions in regard to her pictures.
I have a thumbnail on the main screen and when you click on the img. Opens up a
new window with the enlarged img.
All is OK. Now the question:
I would like to open a window the size of the new enlarged img. And have an X, or something, that you can click and close the page.
This should be different that going all the way to the left corner and do back
or left corner and close the page.
I would like to know from you how this can be done. I'm not a programmer. By
trade I'm a beans counter.
Thank you very much for your time.
Michael Collins
312-379-2023
Code of the West - "Don't let so much reality into your life that there's no room
left for dreamin'."
Thomas Jefferson lamented that "as a government grows, liberty decreases."
He wisely noted, "Government big enough to supply everything you need is big enough to take everything you have."
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.
____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.