Ver Mensaje Individual
  #10 (permalink)  
Antiguo 20/03/2008, 17:25
Erikzon
 
Fecha de Ingreso: marzo-2008
Mensajes: 1
Antigüedad: 16 años, 1 mes
Puntos: 0
Re: Cambiar sonido del Link

Tal vez les pueda servir esto a alguien...

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sonido</title>
<SCRIPT language="javascript">

if(navigator.appVersion.indexOf("MSIE") != -1){
document.write ("<bgsound id='audio'></bgsound>");
} else {
document.write ("<embed name='audio' autostart='false' hidden='true'></embed>");
}

function play(sonido)
{
if(navigator.appVersion.indexOf("MSIE") != -1){
document.all.audio.src=sonido;
} else {
document.audio.src = sonido;
document.sound.autostart = true;
}

}

</SCRIPT>

</head>

<body>
<A href="http://www.google.com" onMouseOver="play('Aviso.wav')" >Google</A>
</body>
</html>