View Full Version : CMotion Image Gallery II

01-26-2009, 11:53 PM
1) Script Title: CMotion Image Gallery II

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

3) Describe problem:
I am using this script and design on my website. I am fairly new to JavaScript, so not quite sure what the rules are when using the same id name for different functions.

Anyway, I added the script to the page and was able to get the image gallery to work. I want to put three more of them with different images on the same page. (Basically, four columns with different images of my art in each, depending on the category.) When I add the second gallery, the first one continues to work, but the second one doesn't move at all. It does show up though.

I know that in CSS the id names have to change. What needs to change on the JS file? I have tried setting up different id names for each section and then changed the names accordingly and made extra JS files to accommodate each version, but I can't seem to get it to work. Can some please tell what I am doing wrong?