PDA

View Full Version : How to add on mouse over pause to Manual Scroller?



mailtosaleh
02-12-2007, 02:19 AM
1) Script Title:
Manual Scroller
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex2/manualscroll.htm
3) Describe problem:
I want to add one more function, mouse over pause, is it possible, and how?

ddadmin
02-12-2007, 12:38 PM
Sure, simply find the line:


document.write('<div id="container" style="position:relative;width:155px;height:160px;overflow:hidden;border:2px ridge white" onMouseover="speed=0" onMouseout="speed=2" >')

Note the code in red, which is new. This will add pause onmouseover to the script.

mailtosaleh
02-12-2007, 02:54 PM
It is not enough to click a button to thank you, I thought I should drop a word, Thank You,