PDA

View Full Version : Problem incorporating Cmotion gallery - gallery won't scroll



stakey
09-23-2007, 12:52 PM
1) Script Title: Cmotion Image Gallery

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

3) Describe problem:

Hey guys, hopefully someone can help me with this one, i'm trying to incorporate the Cmotion Image Gallery into a site i'm working on for a client. No issue getting it to sit in on my design, however when I try get the gallery to scroll it ain't doing anything :(

To see how i've incorporated it into the site, have a look here:

http://www.chupi.ie/gallery.html

Any help at all would be very much appreciated!

Thanks!

insanemonkey
09-23-2007, 01:03 PM
Too me itdoesn't loook like you downloaded the js script, did you? make sure you download them and upload them and have the right link to them

stakey
09-23-2007, 02:07 PM
definitely downloaded the js script, have it running on a seperate page with no other code with no problems what so ever....

stakey
09-23-2007, 02:34 PM
gah! iframes have saved me in this instance :D

http://www.chupi.ie/testgallery.html

Still, if anyone has any idea what the hell was going on here i'd be interested in theories!

jscheuer1
09-23-2007, 03:40 PM
You have a simple onload conflict. Remove this from motiongallery.js:


window.onload=fillup;

Add this (red) to your body tag's onload event:


<body onload="fillup();MM_preloadImages('images/site structure/about2.jpg','images/site structure/collections2.jpg','images/site structure/stockists2.jpg','images/site structure/press2.jpg','images/site structure/contact2.jpg')">