Javascript Reference
Categories: BGSOUND

javascript BGSOUND src

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

Read/Write  

Provides the URL of the sound file to be played. Change tunes by assigning a new URL to the property. The new tune plays according to the loop property setting.

 
Example
 
document.getElementById("tunes").src = "sounds/blues.aif";
 
Value

Complete or relative URL as a string.

 
Default

None.


Powered by Linode.