cue

Support Key: [CSS2|CSS2.1]
Other Aural Properties
volume
stress
richness
azimuth
elevation
voice-family
speak
speak-punctuation
speak-numeral
pitch
pitch-range
speech-rate
play-during
pause
pause-before
pause-after
cue-before
cue-after
= Index DOT Css by Brian Wilson =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
   NA
Applicable Elements:
All
Inherit From Parent:
No
Applicable Media:
Aural
HTML Equivalent:
NA
Official Docs:
CSS2: Sect. 19.5, CSS2.1: App A.6
What is it?
The 'cue' family of properties allows the attachment of key sounds (or "Auditory Icons" as the CSS spec refers to them) to elements. This allows an author to add distinguishing characteristics to semantic elements. 'Cue' is a shorthand property for setting both 'cue-before' and 'cue-after' property values. If two values are given, the first value is assigned to 'cue-before' and the second is 'cue-after'. If only one value is given, it applies to both properties. If loading of a URL fails, nothing should be played, but if the system does not have the ability to play it, the spec says the system should try to use some sort of cue (audio, visual or other.)

Allowed Values
inherit
[CSS2|CSS2.1]
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
none
[CSS2|CSS2.1]
Type: Explicit
Description:
Play no sound before and after the element.
[URL]
[CSS2|CSS2.1]
Type: Explicit
Description:
Indicates the URL of a sound file to be played before and after the element. If loading of the indicated URL fails no sound will be played. If the referenced resource is not a sound file, it should be ignored and the property should be treated as if the value were set to 'none.'
Syntax
Selector { cue: [CUE-BEFORE] [CUE-AFTER] } OR
Selector { cue: [CUE] }
Example
Ext/Doc: strong { cue: url(orchestralsneeze.wav) url(quack.wav) }
In-Line:  <strong STYLE="cue: url(orchestralsneeze.wav) url(quack.wav)">text</strong>
Notes Browser Peculiarities

Boring Copyright Stuff....