Category Archives: Start and Stop Marquee Text

How to start and stop Marquee

Here is my situation ->I need to make a Marquee stop on mouseover and start on mouseout without using java script? How can i do it? There are number of solutions. You can stop the marquee on click event, mouse over event , similarly you can start the marquee on number of javascript events.
Here are some possible ways:

  <marquee onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 6, 0);">
      PHP Fresher     

Next sample on Mouseup and Mouse Down:

<marquee behavior="scroll" direction="left" onmousedown="this.stop();" onmouseup="this.start();"> PHP Fresher     </marquee>

Next Sample on MouseOver and MouseOut

<marquee behavior="scroll" direction="left" onmouseover="this.stop();" onmouseout="this.start();">PHP Fresher</marquee>

Similar Links
Example one
Example two