Javascript Reference
Categories: IMG

javascript IMG loop

@March 15, 2008, 1:22 a.m.
loopFirefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

Read/Write  

If you specify a video clip with the dynsrc attribute, the loop property controls how many times the clip should play (loop). Changing to a value of -1 is equal to a continuous loop.

 
Example
 
document.movieImg.loop = 3;
 
Value

Integer.

 
Default

1


Powered by Linode.