PDA

View Full Version : Is there a script very similar to this one?



trebs
05-15-2005, 09:20 PM
Hi. The scipt I'm looking for is almost exactly the same as the one at http://www.dynamicdrive.com/dynamicindex1/scrollerlink.htm but what I want is it to scroll up and down, not left and right. Is there a script that does it or can this one be modified or something like that?

trebs
05-27-2005, 03:15 AM
anyone?

jscheuer1
05-27-2005, 04:15 AM
This is the closest I could find here on DD:

http://www.dynamicdrive.com/dynamicindex2/manualscroll.htm

trebs
06-05-2005, 01:44 AM
thanks, but that won't work for what i want...it need to be able to stop when you move the mouse

it can probably be edited to do what I want, but I'm not sure what I would need to edit

jscheuer1
06-05-2005, 02:38 AM
Try changing this:
<div style="background-color:#FFFFDD;width:155px"><center><a href="javascript:movedown()">Down</a> <a href="javascript:moveup()">Up</a>
<a href="javascript:stopscroll()">Stop</a> <a href="javascript:movetop()">Top</a></center>
</div>to this:
<div style="background-color:#FFFFDD;width:155px"><center><a href="#" onclick="return false;" onmouseover="movedown()" onmouseout="stopscroll()">Down</a> <a href="#" onclick="return false;" onmouseover="moveup()" onmouseout="stopscroll()">Up</a>
<!--a href="javascript:movetop()">Top</a--></center>
</div>You can even replace the words 'Up' and 'Down' with image tags that use images of your choosing, like little arrows, ex:
<div style="background-color:#FFFFDD;width:155px"><center><a href="#" onclick="return false;" onmouseover="movedown()" onmouseout="stopscroll()"><img src="down.gif"></a> <a href="#" onclick="return false;" onmouseover="moveup()" onmouseout="stopscroll()"><img src="up.gif"></a>
<!--a href="javascript:movetop()">Top</a--></center>
</div>I removed the 'Stop' command as it is no longer needed. I left the 'Top' command in there but, commented it out, it might come in handy if you have a very long list of things in the scroll.

trebs
06-07-2005, 04:49 PM
thank you! that's exactly what I wanted