Does any one know the code to make a pop-up window from an image??? I need this quick so if anyone can help I would appreciate it.
pop up window from an image???
Page 1 of 13 Replies - 1928 Views - Last Post: 02 April 2001 - 06:41 PM
Replies To: pop up window from an image???
#2
Re: pop up window from an image???
Posted 01 April 2001 - 03:55 PM
I don't understand, do you have an example? Do you mean you click an image and a pop up window comes up like I have on my site: http://www.spydertl.com
Or do you mean and image actually pops up...
#3
Re: pop up window from an image???
Posted 02 April 2001 - 10:31 AM
If I'm guessing what you want correctly, you would need some code like this in the IMG tag:
<img src="whatever.jpg" onclick="Java script:window.open()">
The open method for window takes a number of parameters that I can't remember off the top of my head. They let you specify how you want the window sized, positioned, etc.
-Malkiri
#4
Re: pop up window from an image???
Posted 02 April 2001 - 06:41 PM
Nah, that won't work too well malkiri...
<a href="Java script:void(0);"><img src="images-content/small-brett.jpg" width="50" height="60" onmousedown="openwindow()" border="0"></a>
This will allow the image to look like a link...
Working examples at http://nerdflat.orco.../residents.html, made with DW4
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|