View Full Version : Help with Image Thumbnail Viewer II

Christina T
06-15-2005, 12:46 PM
I am trying to figure out why I am only getting the text links. If you mouse over the links the pictures show up.
I want to show up as the thumbnails instead.
How do you close them?
Link to script:
Link to the page I am working on:

06-15-2005, 08:03 PM
For one thing you have a syntax error:
<a href="#" onMouseover="modifyimage(dynloadarea', 0)">image 1 (onmouseover)</a><br>should be:
<a href="#" onMouseover="modifyimage('dynloadarea', 0)">image 1 (onmouseover)</a><br> Also, you would be better off changing this:

<a href="#" onClick="return modifyimage('dynloadarea2', 2)">image 3 (onclick)</a><p>to this:
<a href="#" onClick="return modifyimage('dynloadarea', 2)">image 3 (onclick)</a><p>If you do all that, you don't need to close them as one will replace the other.

I don't see any attempt to use thumbnails on your page but, just substituting an image tag of the thumbnail for the text will work:
<a href="#" onClick="return modifyimage('dynloadarea', 2)"><img src="somethumb.jpg"></a><p>

Christina T
06-15-2005, 08:14 PM
Thank you John
I will be working on this tomorrow.
I will let you know if it works.
I hope so
The last one you helped me with worked great

Christina T
06-16-2005, 09:07 PM
Thank you so much John
It worked. It makes sense needing a thumb nail to make it appear with a thumbnail. :p
Now I can work on making thumb nails for all the pictures and getting them sorted.