PDA

View Full Version : CMotion Image Gallery not scrolling



skateoroma
10-05-2006, 02:50 PM
1) Script Title: CMotion Image Gallery

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

3) Describe problem: I cannot get the script to scroll. The links work, modified css to get the look I want, but it won't scroll. I can't figure it out. Please help if you can. http://62mm.org/_newsite/members.php I'm redesigning my website, and this script will add some great functionality.

Thanks...

Gary Hill
10-07-2006, 12:40 AM
Are you using any other scripts? I had a similar problem with cmotion and another script which called the init function on the onload event within the html body.

<body onload="init();">

cmotion wants to call the fillup function on the onload event. It does this from within the external js file. The first event handler will block the second, therefore the original script will work but cmotion will not. To solve the coflict, I commented out the cmotion event handler and moved the call to fillup to the init method.

//window.onload=fillup;

skateoroma
10-09-2006, 04:44 AM
Thanks, that fixed it.

I'm prelaoding some images for the mouse hover effect, "<body onLoad="MM_preloadImages('images/but-home-roll.gif','images/but-aboutus-roll.gif','images/but-events-roll.gif','images/but-photos-roll.gif','images/but-forums-roll.gif','images/but-contacts-roll.gif')">", . When I remove the code in the body, it works. I don't know enough to add the "fillup" call to the body tag with the preload code.

skateoroma
10-09-2006, 05:00 AM
Are you using any other scripts? I had a similar problem with cmotion and another script which called the init function on the onload event within the html body.

<body onload="init();">

cmotion wants to call the fillup function on the onload event. It does this from within the external js file. The first event handler will block the second, therefore the original script will work but cmotion will not. To solve the coflict, I commented out the cmotion event handler and moved the call to fillup to the init method.

//window.onload=fillup;

I got it!!! Thanks again.

<body onLoad="fillup(); MM_preloadImages('images/but-home-roll.gif','images/but-aboutus-roll.gif','images/but-events-roll.gif','images/but-photos-roll.gif','images/but-forums-roll.gif','images/but-contacts-roll.gif')">

a1i.c
10-25-2006, 09:24 PM
Can you put multiple galleries on one page?

I've been trying this for most of the night, and it doesn't want to work - the 2nd gallery doesn't move. I've looked in both FF and IE.

web address, http://alichristie.info/bermuda/index1.htm