View Full Version : CMotion Image Gallery -- Easy question

09-22-2005, 11:57 AM

Firstly, I apologise for asking what may seem a very simple question. My knowledge regarding scripts is very limited, and i'm self-teaching as I go.

Anyhow, i've tried to get the CMotion Image Gallery script (http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm) to run on the discography page (http://www.pcr4u.com/highvoltageacdc/discography.html) of my AC/DC website.

The idea was that I have the images of the albums scroll across the screen. When you click one, it takes you to a page with album info/lyrics, etc.

At the moment, I haven't set those pages up, so i've left the link as "#".

If you go to the page, you'll notice that it's not actually scrolling... :o
I've tried linking directly to the actual script files on my hosting thingamajig, but it still won't scroll for me...

I feel like i'm missing something very simple here. I've sat here for at least 90 minutes staring at the code trying to change little bits and pieces to make it work, but nothing seems to happen.

Any help would be most appreciated (yes, I DID use the search button before I made the thread! :D )


EDIT: Here's the code for that particular part of the gallery

<div id="motioncontainer" style="position:relative;width:400px;height:150px;overflow:hidden;">
<div id="motiongallery" style="position:absolute;left:0;top:0;white-space: nowrap;">

<nobr id="trueContainer">
<a href="#"><img src="v2/smallalbums/hvaus.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/tnt.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/hvworld.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/dd.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/ltbr.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/power.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/blood.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/hthaus.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/bib.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/ftatr.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/fots.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/74jail.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/fly.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/wmw.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/buyv.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/tre.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/live.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/breaker.jpg" border=1></a>
<a href="#"><img src="v2/smallalbums/sul.jpg" border=1></a>


09-22-2005, 12:35 PM
Please ignore me -- i'm an idiot...

Tried to run 2 scripts on one page.... :rolleyes: :D


09-22-2005, 10:12 PM
You should be able to put cmotion on a page in a borderless iframe on your main page, making it appear 'on the page but not of it'. This will stop any script conflict with cmotion and other script(s) on the page.