This:
Code:
<script type="text/javascript" src="/scripts/thumbnailviewer2.js" defer="defer"></script>
needs to be like so:
Code:
<script type="text/javascript" src="/scripts/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>
This:
Code:
<a href="pics.html" class="tn modal">
Should be like:
Code:
<a href="pics.html" class="tn modal" onmousedown="thumbnailviewer2.alreadyrunflag=0;">
Then on pics.html:
Code:
<table onmouseover="if(!thumbnailviewer2.alreadyrunflag){thumbnailviewer2.alreadyrunflag=1;thumbnailviewer2.init();};" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="bottom"><div id="loada . . .
That should at least get it working one time, if there are other problems, the cleanup function may need to be run (and perhaps should be anyway) with the onmousedown:
Code:
<a href="pics.html" class="tn modal" onmousedown="if(thumbnailviewer2.targetlinks&&(thumbnailviewer2.targetlinks.length||thumbnailviewer2.featureImage)){thumbnailviewer2.cleanup();}thumbnailviewer2.alreadyrunflag=0;">
Bookmarks