Log in

View Full Version : thumbnail viewer II not working in firefox



swallfisch
01-07-2010, 03:30 AM
1) Script Title: Thumbnail Viewer II

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

3) Describe problem: The images in the table do not activate the loadarea image to the left in Firefox. See here: http://www.vitalizesugarhouse.com. Works fine in all other browsers, and it worked fine in Firefox when the site was hosted on my computer with MAMP. Published the site and it no longer works. Thanks in advance.

jscheuer1
01-07-2010, 06:50 AM
It's a conflict with the overlib_mini.js script. It defines createPopup. So this statement from thumbnailviewer2.js which in Firefox usually would evaluate to false:


iefiltercapable: document.compatMode && window.createPopup? true : false, //Detect browser support for IE filters


evaluates to true. You may fix that by editing the thumbnailviewer2.js file in a plain text only editor like NotePad, replacing that single line with these:


//Detect browser support for IE filters:
iefiltercapable: false,
/*@cc_on @*/
/*@if(@_jscript_version >= 5)
iefiltercapable: document.compatMode && window.createPopup? true : false,
@end @*/

swallfisch
01-07-2010, 07:20 PM
Success - Thanks!