View Full Version : C-Motion script cutting off images....

Maximum Bob
03-12-2005, 11:56 PM
I searched the forums, someone had what I believe was a similar problem, but no fix was given in the thread. So I apologize for what may seem like a repost of a problem.

The script works fine in IE but in Firefox I cannot fully scroll through the images. It stops and cuts off a couple of the images while you scroll right. I did change the width and the height of the scrolling area. Though I really don't know what the problem is. Any help would be greatly appreciated.

Script: http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm
My Problem: http://hamsterstyle.com/gallery/gallery.html

03-13-2005, 07:11 PM
Not sure this will fix it but shouldn't this on your page:

<a href="javascript:enlargeimage('dynamicbook1.gif')"><img src="tn/tn_08_26_02_1.jpg" border=1></a>
<a href="javascript:enlargeimage('dynamicbook1.gif', 300, 300)"><img src="tn/tn_08_26_02_1.jpg" border=1></a>

be this:

<a href="javascript:enlargeimage('tn/tn_08_26_02_1.jpg')"><img src="tn/tn_08_26_02_1.jpg" border=1></a>
<a href="javascript:enlargeimage('tn/tn_08_26_02_1.jpg', 300, 300)"><img src="tn/tn_08_26_02_1.jpg" border=1></a>

I tested the script out with NN7.2, very similar to Firefox as far as scripts behavior goes and got an error even with dd's example page:

Error: b has no properties
Source File: http://www.dynamicdrive.com/dynamicindex4/motiongallery.js
Line: 85
I also got a similar error on your page from the JavaScript Console but, their page behaved OK, go figure.