Tuesday, April 22, 2014

Marquee start or stop on mouse hover works both chrome firefox

If you want to use marquee tag and want to pause or stop when you'll hover your mouse

<marquee 
face="courier"
behavior="SCROLL"
onmouseout="this.setAttribute('scrollamount', 2, 0);this.start();"
onmouseover="this.setAttribute('scrollamount', 0, 0);this.stop();"
scrollamount="2"
direction="up"
style="text-align: left;"
>
here is my text
</marquee>
 
Hope you'll enjoy a great in your work

Thanks

Total Pageviews