I'd try (from the updated thumbnailviewer.js file, additions highlighted):
Code:
createthumbBox : function(){ // write out HTML for Image Thumbnail Viewer plus loading div
document.write('<div id="thumbBox" style="visibility: hidden;" onClick="thumbnailviewer.closeit()"><div id="thumbImage"></div>' + this.definefooter + '</div>')
document.write('<div id="thumbLoading" style="visibility: hidden;">' + this.defineLoading + '</div>')
this.thumbBox = document.getElementById('thumbBox');
this.thumbImage = document.getElementById('thumbImage'); //Reference div that holds the shown image
this.thumbLoading = document.getElementById('thumbLoading'); //Reference "loading" div that will be shown while image is fetched
this.standardbody = (document.compatMode == 'CSS1Compat')? document.documentElement : document.body; //create reference to common "body" across doctypes
},
But that might cause problems and/or leave some issues unsolved.
If you want more help:
Please post a link to a page on your site that contains the problematic code so we can check it out.
Bookmarks