JavaScript Reference/Javascript Properties/scrollDelay
"scrollDelay" Example
<html>
<body>
<script language="JavaScript">
function function1(){
document.all.myM.scrolldelay = 20;
}
</script>
<marquee id="myM" bgcolor="cyan">Sample Text</marquee>
<input type="button" value="truespeed" onClick="function1();">
</body>
</html>
"scrollDelay" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<marquee> |
+----------------+--------------------------------------------------------------+
"scrollDelay" Syntax and Note
Note:
Read and write property.
The <marquee> scroll speed in milliseconds.
The default value is 85.
The smaller, the slower and smoother.
Syntax:
document.all.marqueeID.scrollDelay = value