'bgsound' is for IE only. Add an empty span to your page and then use the mouse-over to insert an
embed-ded sound file to this span. The script should be within the <head> tag of your page:
Code:
<script type="text/javascript">
function PlaySound(url) {
document.getElementById("sound").innerHTML="<embed src=\""+url+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />";
}
</script>
// and the HTML:
<body>
<span id="sound"></span>
<a href="#"><img src="images/butters.jpg" onMouseOver="PlaySound('http://www.pacdv.com/sounds/sounds/sound38.mp3')" /></a>
</body>
If it doesn't work it may be because you're using an mp3 file. Try it first with a simpler .wav file. Otherwise, you may need to confiugure FF to play mp3 files.
Added: Yeah, works for me in IE, FF and Chrome