PDA

View Full Version : thumbnailviewer2.js starting with first image



fpieters
09-29-2009, 06:28 PM
1) Script Title: thumbnailviewer2.js

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex4/thumbnail2.htm

3) Describe problem: I would like to have the thumnail viewer started with the first image defined.

in other words. If I load the page with the thumbnailviewer I would like to have an image in the loadarea DIV already. So I don't have to mouseover any thumbnail first. Is that possible?

Thank,
Frank

ddadmin
09-29-2009, 09:41 PM
You can simply manually add the desired image to show inside the load area DIV:


<div id="loadarea" style="width: 600px"><img src="firstimage.gif" /></div>

fpieters
10-05-2009, 05:56 PM
Thank you, it works. I was afraid there should be a problem because I use portrait and landscape pictures in one serie.