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.
That said, the problem could well be that you are loading the style after the script (from your source code):
Code:
<script type="text/javascript" src="Javascript/thumbnailviewer.js"></script>
<link href="CSS/thumbnailviewer.css" rel="stylesheet" type="text/css" />
Instead of the other way around as recommended on the demo page:
Code:
<link rel="stylesheet" href="thumbnailviewer.css" type="text/css" />
<script src="thumbnailviewer.js" type="text/javascript">
/***********************************************
* Image Thumbnail Viewer Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
The way you have it, the markup you are seeing could be visible for a brief moment until the stylesheet loads and set's its visibility:hidden.
Bookmarks