View Full Version : Image Thumbnail Viewer

01-04-2005, 07:26 AM
Image Thumbnail Viewer :confused:

Need help with code -> I have the following questions ->
1. When I try to put more images than one, I get a redex on the second image but the first image function.
2. The tag: <div id="showimage"> when put by the second image nothing functions.
3. What is my problem here? How do I put 10 different images on one side and where should I put the tag? ( I know its in the body) but where exactly.

01-04-2005, 09:07 AM
You only want one div statement. A final piece would look like:

<div id="showimage">
<a href="photo1.jpg" onClick="return enlarge('photo1.jpg',event)"><img src="thumbnail.gif" border="0"></a>

<a href="lemoncake.jpg" onClick="return enlarge('lemoncake.jpg',event,'center',300,375)">Lemon Cake (centered)</a>

01-04-2005, 12:57 PM
If I understood you correctly, you're trying to show more than one enlarged image simultanously when the user clicks on a thumbnail? Unfortunately that's currently not possible with this script. Each thumbmail can only launch one enlarged image. Also, as Minos mentioned, the tag:

<div id="showimage"></div>

needs to be unique on the page.