Kazbaeden
08-05-2002, 07:58 PM
I'm trying to make a picture gallery. Here's how I'm trying to make it:
On the main page is a number of thumbnails.
If you click on one it will open a new window and display the full image.
In that window will be a forward and backward button that moves through the other images.
I've got all that down, but my question is, how would I choose a picture from the array to display first?
Say I have two pictures in the thumbnail index. I Click on the first one and a popup window comes up and it displays the first image in the array. How would I make it so when I click on the second image the pop up window will display the second image in the array?
http://mywebpages.comcast.net/kazbaeden/NEW/Page002.htm
This is a little mockup I've done. I use the onClick="window.open();" command to open the popup, which is targeted to Page001.htm. Page001.htm is the page that has the array in it. Thanks for any help. =)
On the main page is a number of thumbnails.
If you click on one it will open a new window and display the full image.
In that window will be a forward and backward button that moves through the other images.
I've got all that down, but my question is, how would I choose a picture from the array to display first?
Say I have two pictures in the thumbnail index. I Click on the first one and a popup window comes up and it displays the first image in the array. How would I make it so when I click on the second image the pop up window will display the second image in the array?
http://mywebpages.comcast.net/kazbaeden/NEW/Page002.htm
This is a little mockup I've done. I use the onClick="window.open();" command to open the popup, which is targeted to Page001.htm. Page001.htm is the page that has the array in it. Thanks for any help. =)