JavaScript Reference/Javascript Properties/trueSpeed

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

"trueSpeed" Example

   <source lang="javascript">
   

<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>


     </source>
   
  


"trueSpeed" is applied to

   <source lang="javascript">

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

     </source>
   
  


"trueSpeed" Possible Values

   <source lang="javascript">

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


     </source>
   
  


"trueSpeed" Syntax and Note

   <source lang="javascript">

Note: Read and write property. Is the speed of <marquee> faster than a scrollDelay value of 60.

Syntax:

document.all.marqueeID.trueSpeed = value


     </source>