可以自由选择背景音乐。最小化页面后停止播放,恢复窗口后继续播放。
但是有些音乐文件无法播放
选点歌曲名后该曲可自动循环播放
示范站点:http://chencao.yculblog.com/
<bgsound id=bs src="http://i6677.com/fun/aaa/aijiuyigezi.mid" loop="-1">
<script> function GoToWhere(s){var d=s.options[s.selectedIndex].value;s.selectedIndex=0; } </script>
<select name='selectmusic' onChange='bs.src=this.value' loop='true' size='1' style='color: #333333; background-color: #F0F0F0; font:9pt'>
<option selected>请选择背景音乐</option>
<option value='http://i6677.com/fun/aaa/wuming.mid'>无名</option>
<option value='http://i6677.com/fun/aaa/yueding.mid'>约定</option>
<option value='http://i6677.com/fun/aaa/zhengfu.mid'>征服</option>
<option value='http://i6677.com/fun/aaa/guzheng.mid'>古筝</option>
<option value='http://i6677.com/fun/aaa/aijiuyigezi.mid'>爱就一个字</option>
</select>
引用自:http://www.netsh.com/help/html/sample/0507.html
但是有些音乐文件无法播放
选点歌曲名后该曲可自动循环播放
示范站点:http://chencao.yculblog.com/
<bgsound id=bs src="http://i6677.com/fun/aaa/aijiuyigezi.mid" loop="-1">
<script> function GoToWhere(s){var d=s.options[s.selectedIndex].value;s.selectedIndex=0; } </script>
<select name='selectmusic' onChange='bs.src=this.value' loop='true' size='1' style='color: #333333; background-color: #F0F0F0; font:9pt'>
<option selected>请选择背景音乐</option>
<option value='http://i6677.com/fun/aaa/wuming.mid'>无名</option>
<option value='http://i6677.com/fun/aaa/yueding.mid'>约定</option>
<option value='http://i6677.com/fun/aaa/zhengfu.mid'>征服</option>
<option value='http://i6677.com/fun/aaa/guzheng.mid'>古筝</option>
<option value='http://i6677.com/fun/aaa/aijiuyigezi.mid'>爱就一个字</option>
</select>
引用自:http://www.netsh.com/help/html/sample/0507.html