View Full Version : Cmotion Object Oriented trouble in Firefox

06-05-2007, 11:07 AM
1) Script Title:
[DHTML] Cmotion object oriented

2) Script URL (on DD):

3) Describe problem:

I have been using this script along side Lightbox v2. All is in working order with regards to that. The scroll system in IE works perfectly fine, but when it is loaded in Firefox at a resolution lower than 1280x1024 the image train will not scroll right. (Interestingly, if I load the window at 1280x1024 and resize smaller, the script will then work with the smaller window in Firefox. But If I refresh in that same resized window, the script will not scroll right again.)

Also, at lower resolutions the whole image train will not be displayed, even if the correct values are set. The Demo of Cmotion OO works fine when resized, so I'm assuming it's something to do with my div tags being located within a <td></td> and Firefox not handling the window.onresize event properly. Or it's me being mince. (The latter is more likely!)

Here is an example: [I'm updating this as I try to fix it. Also, excuse the horrible header coding, I've not cleaned it up yet.)


Thanks in advance!

PS: Thanks for the excellent script!


It seems that if you load the above page in Firefox, 'restore' the window then 'maximize' again, the cmotion scroll works fine. Oo Suggestions on how to fix this would be extremely apreaciated.

06-05-2007, 01:05 PM
It was simple! I certainly am mince! I had already tried this, but had missed the ';' from the command so thought it hadn't worked. Anyway, just add this to the body tag to fix the problem!


Thanks again for the excellent site, support and scripts!