JavaScript Reference/Javascript Properties/trueSpeed — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:21, 26 мая 2010
Содержание
"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