javascript BGSOUND volume

volumeNN n/a IE 4 DOM n/a  

Read/Write  

Specifies how loud the background sound plays relative to the maximum sound output level as adjusted by user preferences in the client computer. Maximum volumea setting of zerois only as loud as the user has set the Sound control panel. Attribute adjustments are negative values as low as -10,000 (although most users lose the sound at values much higher than that value).

 
Example
 
var currVolume = document.getElementById("themeSong").volume;
 
Value

Integer.

 
Default

Varies with operating system and sound settings.


312,Nickname,Homepage or email,Comments here,Add comment