Name

balance — NN n/a IE 4 DOM n/a

Synopsis

Read-only

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.all.tags("bgsound")[0].balance

Value

A signed integer between -10,000 and +10,000. A value of 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

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.