PDA

View Full Version : RESOLVED!!!! Scrolling Content II -- Scroll Just a Little Bit!!



codenoob
12-10-2010, 07:37 PM
1) Script Title: Scrolling Content II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/scrollc2.htm#

3) Describe problem: I changed the script so it scrolls when you click it. Now I want it to scroll just when I click it; right now the content just scrolls when I click and leave the mouse over the arrow.

Thanks for the help!
-Codenoob

Nile
12-10-2010, 09:25 PM
<table width="175px"><td><p align="right">
<a href="#" onMouseover="moveup()" onMouseout="clearTimeout(moveupvar)"><img src="up.gif" border=0></a> <a href="#" onMouseover="movedown()" onMouseout="clearTimeout(movedownvar)"><img src="down.gif" border=0></a></p></td>
</table>
Change onmouseout to onmouseup, and onmouseover to onmousedown.

codenoob
12-13-2010, 02:04 PM
Thanks! This is exactly what I needed. Much appreciated!:D