First off, you are in violation of the DD usage policy:
Your page is in violation of Dynamic Drive's
usage terms, which, among other things, state that the script credit must appear in the source code of the
page(s) using the script. Please reinstate the notice first.
In other words use:
Code:
<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>
instead of:
Code:
<SCRIPT
src="thumbnailviewer2.js"
defer type=text/javascript>
</SCRIPT>
OK, now the problem is as I imagined. You have so many images and possibly other things on the page that there is a small amount of time (with broadband - a large amount of time with dial up) while the page is loading, before the script initializes, when clicking on the thumbnails will fire their links as ordinary links. Once the page loads, they behave as expected. Here is one of those links:
Code:
<a
href="images/web10.gif"
rev=loadarea4::
rel=enlargeimage::mouseover>
or, more simply and with proper quoting included:
Code:
<a href="images/web10.gif" rev="loadarea4::" rel="enlargeimage::mouseover">
Now, there is one other issue here with these links and I will get to that in a moment, but to stop them from firing before the page has loaded, make them like so:
Code:
<a href="images/web10.gif" onclick="return false;" rev="loadarea4::" rel="enlargeimage::mouseover">
The other issue is with the rev attribute. In the above I kept the value as you had it:
This makes each large image a link to the top of the page. If you wanted to link to another page you could have used:
Code:
rev="loadarea4::some_page.htm"
But, if no linking of the larger image is desired, it should be:
Bookmarks