PDA

View Full Version : Cmotion gallery scrolling problem



tigerstuff
10-10-2005, 06:57 AM
Hi, I am looking for some help on the Cmotion gallery script:

http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm

I have tried many times over the past month to figure out how to produce this script and actually have it scroll for me. I have lately tried to set up an iFrame as I beleive that another javascript has caused the problem. I love the potential of this scroller for my site and hope someone can steer me in the right direction.

Please view the web pages I have listed and tell me the simple thing I have done wrong.

Page with Cmotion scroller on it (should be six images available but will not scroll): http://www.verticalfish.ca/Design/logo_design.htm

Page that is used for the iFrame with actual scroller on it:
http://www.verticalfish.ca/Design/logo_iframe.htm

Thank you so much in advance!

Cameron

jscheuer1
10-10-2005, 07:49 AM
On line 25 of your motiongallery.js file, where you have:


var actualwidth=document.all? cross_scroll.offsetWidth : document.getElementById("trueContainer").offsetWidth

It should be:


var actualwidth=''

tigerstuff
10-10-2005, 08:35 PM
Thank you John,

I knew it was something simple like that!