Javascript Reference
Categories: BGSOUND

javascript BGSOUND balance

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

Read-only  

Specifies how the audio is divided between the left and right speakers. Once this attribute value is set in the element, its value cannot be changed by script control.

 
Example
 
var currBal = document.getElementsByTagName("bgsound")[0].balance;
 
Value

A signed integer between -10,000 and +10,000. A value of 0 is equally balanced on both sides. A negative value means the left side is dominant; a positive value means the right side is dominant.

 
Default

0


Powered by Linode.