PDA

View Full Version : Image thumbnail viewer 2 problem



VistaXP
03-06-2007, 04:27 AM
When I first open the page with "Image Thumbnail Viewer 2", the enlarge image isn't seen until I have to mouseover or click on the image first to see the enlarged image. Is there a way to load the enlarge image as soon as the page loads?

Here's the link Image to Thumbnail Viewer 2 (Javascript)
http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

jscheuer1
03-06-2007, 07:36 AM
Simply replace the text (red) with an image tag or whatever HTML code you would like featured there when the page first loads (from the demo page):


<div id="loadarea" style="width: 500px">
This DIV will show my enlarged images!
</div>

You could even link it if you like. Example:


<div id="loadarea" style="width: 500px">
<a href="some.htm"><img src="photo1.jpg" border="0"></a>
</div>

VistaXP
03-06-2007, 08:00 AM
Wow, that was simple. I was thinking of that. but thought it would just overlap the images.

Thanks for helping solving my many questions. Your truly a smart man! :)