Licked by a Cow
December 6th, 2001, 06:00 AM
I have been trying to make an image gallery where when you click on a thumbnail, the picture will load in a popup window. I used Kirupa's tutorial on using javascript to accomplish this, and it works great. Everything works fine when the user closes each picture before trying to view the next.
The one problem I have now is that if the user tries to open a picture when another is already open, the second picture gets loaded into the first popup window, rather than creating a new window (which is a problem because my pictures are all different dimensions).
How can I get it to open a new popup for each picture, even when another popup is already open? Thanks in advance,
Steve
The one problem I have now is that if the user tries to open a picture when another is already open, the second picture gets loaded into the first popup window, rather than creating a new window (which is a problem because my pictures are all different dimensions).
How can I get it to open a new popup for each picture, even when another popup is already open? Thanks in advance,
Steve