<BGSOUND id="sound" src="" loop=1>
<script>
function SoundCtrl(name)
{
sound.src = name;
}
</script>
<input type="button" onmouseover="SoundCtrl('folder.wav')" onmouseout="SoundCtrl('')" value="鼠标经过时有声音">
<script>
function SoundCtrl(name)
{
sound.src = name;
}
</script>
<input type="button" onmouseover="SoundCtrl('folder.wav')" onmouseout="SoundCtrl('')" value="鼠标经过时有声音">
function playnote()
{ document.embeds.play()}
</script>
<body>
<embed src="声音文件" hidden=true autostart=false>
<a href="#" onClick="playnote;"><img src="鼠标移过时的图像" align=top></a>
你试试吧