<script>
ver=parseInt(navigator.appVersion)
ie4=(ver>3 && navigator.appName!="Netscape")?1:0
ns4=(ver>3 && navigator.appName=="Netscape")?1:0
ns3=(ver==3 && navigator.appName=="Netscape")?1:0function playSound() {
if (ie4) document.all['BGSOUND_ID'].src='images/moon.mid';
if ((ns4||ns3)
&& navigator.javaEnabled()
&& navigator.mimeTypes['audio/x-midi']
&& self.document.Bach.IsReady()
)
{
self.document.Bach.play()
}
}function stopSound() {
if (ie4) document.all['BGSOUND_ID'].src='images/moon.mid';
if ((ns4||ns3)
&& navigator.javaEnabled()
&& navigator.mimeTypes['audio/x-midi']
)
{
self.document.Bach.stop()
}
}
</script><BGSOUND id="BGSOUND_ID" LOOP=1 SRC="images/moon.mid">
<EMBED NAME="Bach" SRC="images/moon.mid"
LOOP=FALSE AUTOSTART=FALSE HIDDEN=TRUE MASTERSOUND><input type=button value="Play Sound"
onClick="playSound()"><input type=button value="Stop Sound"
onClick="stopSound()">
ver=parseInt(navigator.appVersion)
ie4=(ver>3 && navigator.appName!="Netscape")?1:0
ns4=(ver>3 && navigator.appName=="Netscape")?1:0
ns3=(ver==3 && navigator.appName=="Netscape")?1:0function playSound() {
if (ie4) document.all['BGSOUND_ID'].src='images/moon.mid';
if ((ns4||ns3)
&& navigator.javaEnabled()
&& navigator.mimeTypes['audio/x-midi']
&& self.document.Bach.IsReady()
)
{
self.document.Bach.play()
}
}function stopSound() {
if (ie4) document.all['BGSOUND_ID'].src='images/moon.mid';
if ((ns4||ns3)
&& navigator.javaEnabled()
&& navigator.mimeTypes['audio/x-midi']
)
{
self.document.Bach.stop()
}
}
</script><BGSOUND id="BGSOUND_ID" LOOP=1 SRC="images/moon.mid">
<EMBED NAME="Bach" SRC="images/moon.mid"
LOOP=FALSE AUTOSTART=FALSE HIDDEN=TRUE MASTERSOUND><input type=button value="Play Sound"
onClick="playSound()"><input type=button value="Stop Sound"
onClick="stopSound()">
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货