PDA

View Full Version : CMotion Image Gallery - How to get it to work



taygraphics
04-03-2008, 04:20 AM
1) Script Title:
CMotion Image Gallery (horizontal gallery)

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

3) Describe problem:
I have taken the CMotion Image Gallery (horizontal) script as far as I can take it. When I upload to the web it won't move horizontally on my web page, but it will in GoLive Preview mode. I have uploaded the external .js file to the Generated Items folder as well as uploading the external css file.
You can see where I am stuck at:
http://www.taylor-graphics.net/j2/design_center.html
There are 10 squares of color and they should move horizontally when the mouse is moved over them.
Thanks,
taygraphics

yujin
04-03-2008, 09:15 AM
try adding a
<div onclick="fillup()"><h1>click here to activate slider</h1></div>
somewhere in the page

you'll see that after you click it works

so you might just add a fillup(); on your body onload and remove the window onload in the script

taygraphics
04-03-2008, 07:34 PM
Thank you for your help. I added a fillup(); to my body onload and that did it! I am a real novice with script and code, but I love to design.

Now the question I have is can I add multiple sliders to the same web page? You'll see I just copied and pasted the same slider below the top one (which now works) and it is static. Or, only one slider per page?

http://www.taylor-graphics.net/j2/design_center.html

Thanks,
taygraphics