style.elevation (Property)

Part of the aural style control suite that defines the height of a sound source within a 3D space.


CSS level - 2
DOM level - 2
Property/method value type:String primitive
JavaScript syntax:nonemyStyle.elevation
CSS syntax:elevation: aValue
Argument list:aValueOne of the available elevation values

The sound source can be located in the vertical direction giving a full 3D spatial system around the surface of a sphere when combined with the azimuth property.

The following values are appropriate:

levelOn the same horizontal plane as the listener
aboveDirectly overhead
belowDirectly underneath
higherApproximately 10 degrees higher than the previous value
lowerApproximately 10 degrees lower than the previous value

Values can be specified in degrees with the deg suffix. The values +90deg and -90deg correspond to the above and below keywords.


See also:Aural style sheets, style.azimuth