Forum Moderators: open

Message Too Old, No Replies

Need JS for popup images pls

Centered and sized

         

divaone

4:58 pm on Dec 10, 2003 (gmt 0)

10+ Year Member



If someone could please supply me with a script that will onclick popup a centered window that is sized to an image. I'd like a script that does not require me to place image information within the script itself but rather at the javascript link within my contents. Also, it would be great if I can either keep the window from being reused -OR- when a user clicks another image for popup, the popup window jumps to the foreground.

TIA!

BlobFisk

5:11 pm on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi divaone,

This thread may be of use?

[webmasterworld.com...]

divaone

5:30 pm on Dec 10, 2003 (gmt 0)

10+ Year Member



very close! I have two scripts. One opens an html (or whatever) file centered. Another opens an image file according to the size of the image. I'd like to combine the two. I don't care to create an HTML file for each image but need to get rid of those left and top margins. There will also be several images for popup on one page, all of different sizes so that creates another issue.