实现鼠标放到链接上(onmouseover)发出声音的代码
<HEAD>
<META http-equiv=Content-Type content= "text/html; charset=gb2312 ">
</HEAD>
<BODY>
<SCRIPT>
function sound()
{
document.write( " <bgsound src= 'mail.wav '> ");
}
</SCRIPT>
<a href= "# " onmouseover= "javascript:sound() "> 声音 </a>
</BODY>
</HTML>
------解决方案--------------------什么意思,分享?建议还是用embed或是img标签
------解决方案-------------------- <OBJECT ID= 'AlvinWmaPlayer ' CLASSID= 'CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 ' type= 'application/x-oleobject ' width= '0 ' height= '0 ' style= 'position:relative;left:0px; top:0px;width:0px;height:0px; '>
<param name= 'URL ' value= 'firework.wav '>
<param name= 'uiMode ' value= 'invisible '>
</OBJECT>
<a onmouseover= "AlvinWmaPlayer.controls.stop();AlvinWmaPlayer.controls.play(); "> 声音 </a>
------解决方案--------------------散分:L