PDA

View Full Version : Urgently needed help on cmotion gallery



Hasum
12-09-2008, 01:09 PM
1) Script Title: CMotion Image Gallery

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

3) Describe problem: image train doesn't move :confused:

1st. What I'm I doing wrong? :o
2nd. ofcourse I would like the left and right arrows te be enabled... like mentioned in this thread; http://www.dynamicdrive.com/forums/showthread.php?t=8922

who can help me out?

jscheuer1
12-09-2008, 04:09 PM
You've an onload conflict, replace:


window.onload=fillup;

with:


if (window.addEventListener)
window.addEventListener('load', fillup, false);
else if (window.attachEvent)
window.attachEvent('onload', fillup);

For your arrow images, you can do something like so:


<img onmouseover="scrollspeed=2;moveright();" onmouseout="scrollspeed=0;" src="img/pijltje_links.gif" alt="links">

and:


<img onmouseover="scrollspeed=2;moveleft();" onmouseout="scrollspeed=0;" src="img/pijltje_rechts.gif" alt="rechts" width="42" height="186">

Hasum
12-09-2008, 08:02 PM
Dear, dear John,

I... I.. I'm speechless, I'm so glad you helped me out on such short notice!
It means a lot to me! Thank you very very much! Very very happy. :)

Hasum