PDA

View Full Version : cmotion left and right arrows? center?



frantik
03-30-2007, 09:25 PM
1) Script Title: cmotion gallery

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

3) Describe problem:

Hello, I have the left and right arrows on my page and it works just fine but i cant seem to get it to go to the center? I want the left arrow on top of the gallery,centered, and the right arrow on the bottom of gallery, centered. is there a way, thanks,......heres the code of the arrows:

<div style="position:relative; left:-20 ;top:-185 ;width:12 ;height:20 ;z-index:4">
<a onclick="return false;" href="javascript:moveleft()"
onmouseover="if(typeof righttime!='undefined'){clearTimeout(righttime)};if(typeof lefttime!='undefined'){clearTimeout(lefttime)};moveleft();scrollspeed=2;"
onmouseout="stopmotion();scrollspeed=0;"
>
<img alt="Left Arrrow" title="Scroll Images Left" src="images/arrow_left.gif" border="0"></a>
</div>
<div style="position:relative; left:528 ;top:-200 ;width:12 ;height:20 ;z-index:5">
<a onclick="return false;" href="javascript:moveright()"
onmouseover="if(typeof righttime!='undefined'){clearTimeout(righttime)};if(typeof lefttime!='undefined'){clearTimeout(lefttime)};moveright();scrollspeed=2;"
onmouseout="stopmotion();scrollspeed=0;"
>
<img alt="Right Arrrow" title="Scroll Images Right" src="images/arrow_right.gif" border="0"></a>

</div>

Any help is very much appreciated, thanks!