PDA

View Full Version : Image Thumbnail Viewer II not pre-loading



malhyp
06-26-2009, 05:33 AM
1) Script Title: Image Thumbnail Viewer II

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

3) Describe problem: Hi there does anyone know if you can pre load an image when the viewer page loads?

At the moment when the Image Viewer page loads, all you see is icons and you then have to click onto one of them for an image to appear.

Can we say that the 1st image appears when the page loads?

madallig
06-28-2009, 09:15 AM
Hi, I couldn't get the Image Thumbnail Viewer II to work as per the code supplied .....

so heres one that works for me OK!!

<script type="text/javascript" src="thumbnailviewer2.js" defer="defer">

/***********************************************
* Image Thumbnail Viewer II script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

</script>

<a href="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg " rel="enlargeimage::mouseover"
rev="loadarea::http://www.asiasourcing.net" title="Space 1"><img border="0" src="space1.jpg" width="50" height="50" style="margin-bottom: 5px"></a><br>

<a href="http://www.nasa.gov/images/content/168177main_image_feature_749_ys_4.jpg" rel="enlargeimage::mouseover"
rev="loadarea::http://www.asiasourcing.net" title="Space 2"><img border="0" src="space2.jpg" width="50" height="50" style="margin-bottom: 5px"></a><br>


<div id="loadarea" style="width: 600px"></div>

<h2 />

<div id="loadarea2" style="width: 550px"></div>

Hope it helps someone - I did'nt touch the .js file it works fine as it is!

Cheers!
Adam

http://asiasourcing.net/index.php?option=com_content&view=article&id=5
this link available for short while