Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

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