JavaScript Reference/Javascript Methods/start
"start()" 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">
Sample Text
</marquee>
<input type="button" value="Start" onClick="function2();">
<input type="button" value="Stop" onClick="function1();">
</body>
</html>
"start()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<marquee> |
+----------------+--------------------------------------------------------------+
"start()" Syntax, Parameters and Note
Note:
Starts playing the <marquee> element without firing the onStart event handler.
Syntax:
document.all.marqueeID.start()