JavaScript Reference/Javascript Properties/trueSpeed

Материал из Web эксперт
Перейти к: навигация, поиск

"trueSpeed" Example

    
<html>
<body>
<script language="JavaScript">
    function function1(){
        document.all.myMarquee.trueSpeed = false;
    }
</script>
<marquee id="myMarquee" bgcolor="red">www.wbex.ru</marquee>
<input type="button" value="truespeed" onClick="function1();">
</body>
</html>



"trueSpeed" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<marquee>                                                     |
+----------------+--------------------------------------------------------------+



"trueSpeed" Possible Values

Possible Values
true          sets the speed to the scrollDelay value
false         the default; sets the speed to 60



"trueSpeed" Syntax and Note

Note:
Read and write property. 
Is the speed of <marquee> faster than a scrollDelay value of 60. 
    
Syntax:
    
document.all.marqueeID.trueSpeed = value