
Originally Posted by
jaxkit
Your thumbnailviewer2.js file looks like so:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY id=role_body style="FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Verdana"
bottomMargin=7 leftMargin=7 topMargin=7 rightMargin=7>
<DIV><FONT face=Courier>//
--------------------------------------------------------------------<BR>// Image
Thumbnail Viewer II- By Dynamic Drive, available at:
http://www.dynamicdrive.com<BR>// Last updated: Feb 5th, 2007<BR>//
--------------------------------------------------------------------<BR><BR>var
thumbnailviewer2={<BR>enableTitle: true, //Should "title" attribute of link be
used as description?<BR>enableTransition: true, //Enable fading transition in
IE?<BR>hideimgmouseout: false, //Hide enlarged image when mouse moves out of
anchor link? (if enlarged image is hyperlinked, always set to
false!)<BR><BR>
/////////////No need to edit beyond here/////////////////////////<BR><BR>iefilterstring:
'progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0 Duration=0.7)',
//IE specific multimedia filter string<BR>iefiltercapable: document.compatMode
&& window.createPopup? true : false, / . . .
It looks like it was in an editor or uploaded in a way that automatically parsed it as HTML and then saved it as such. You need to get a fresh copy of the script and upload it as binary.
If you need to edit the file, use notepad or another text only editor.
There could still be other issues, but it will never work like that.
Bookmarks