Marquee 'stop()' Example
<html> <body> <script language="JavaScript"> function function1(){ document.all.myMarquee.stop(); } function function2(){ document.all.myMarquee.start(); } </script> <marquee align="left" id="myMarquee" bgcolor="red" width="300"> www.java2s.com </marquee> <input type="button" value="Start" onClick="function2();"> <input type="button" value="Stop" onClick="function1();"> </body> </html>