Based on the Bubbling-Library (http://www.bubbling-library.com/)
Effects: bounce close open intro
Example: <a href="#" class="soundOnClick" rel="mySoundBounce">bounce</a>
Effects: laser iron electricity gun
Example: <a href="#" class="soundOnRollover" rel="laser">laser</a>
Example: <a href="#" class="soundOnClick" rel="applause">Play</a> and then <a href="#" class="stopOnClick" rel="applause">Play</a>
Load Sound File in JavaScript
<script>
function loadSoundMan()
{
if (BINARYBIT.isSoundMan)
{
YAHOO.plugin.SoundManager.binarybitload("applause", "Applause1");
}
}
YAHOO.util.Event.onDOMReady(loadSoundMan);
</script>
Anchor class soundOnRollover and yui-tip using Style Content and rel with Sound