'loop' Syntax and Note : loop « Javascript Properties « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Properties » loop 




'loop' Syntax and Note

Note:

Read and write property. 
Sets the number of times the object will loop. 

For the <marquee> element,            a value of or -(the default
                                      will cause the element to loop indefinitely. 
-----------------------------------------------------------------------------------
For the <bgsound>,                    a value of will cause the element to loop once,
<img>, <input>, and                   and a value of -will cause it to loop indefinitely
<image> elements,                     (the default value is 1).
    
Syntax:
    
document.all.elementID.loop = value

    

      
      














Related examples in the same category
1.'loop' Example
2.'loop' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.