This discussion is continued from: http://www.webdeveloper.com/forum/sh...122#post968122

The site refferenced is http://www.l4dt.com/

The problem is the sound is not being played when links are being moused over.

The code is here:

overSound.js:
function overSound(sObj){
var thisSound=document.getElementById(sObj);
var links = document.getElementsByTagName("a");
for(var i=0; i<links.length; i++){
all links[i].onmouseover=overSound('s1');
}
thisSound.Play();
}

header.php:
____________________________________________________________
...<script type="text/javascript" src="overSound.js"> </script>...
...<embed src="linkOver.wav" autostart="false" width="0" height="0" id="s1" type="audio/wav">...

____________________________________________________________

Thank you for any input given.