I want to create a Marquee that scrolls some news articles but when the user hovers over it I need it to pause and when the user hovers out of it (onMouseOut) I need to ti start back up. This did not work:
<marquee onMouseOver="this.stop()" onMouseOut="this.start()">Text</marquee>
Does anyone have any suggestions on how I can achieve this in a minimal amount of code?
The marquee tag has an attribute called
scrollamountwhich controls how fast it goes. All we need to do is set the value to0when we hover in and set it back to5when we mouse out.DEMO: http://jsfiddle.net/U9yFj/