Javascript Reference
Categories: BGSOUND

javascript BGSOUND loop

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

Read/Write  

Specifies the number of times the sound plays. Assigning a value of -1 means the sound plays continuously until the page is unloaded.

 
Example
 
document.getElementById("mySound").loop = 3;
 
Value

Integer.

 
Default

1


Powered by Linode.