wordpress的侧边栏想利用下
不要太累赘的代码,就简单的 上一曲下一曲 停止播放就可以的
@xmt1139057136
网上找来下,这个代码后台随机播放的,需要放到head里面
高手帮忙修改修改哈
<script><!--//by george chiang (http://www.javascriptkit.com) more javascripts here!var sound1="first.mid"var sound2="second.mid"var sound3="third.mid"var sound4="fourth.mid"var sound5="fifth.mid"var sound6="sixth.mid"var sound7="seventh.mid"var sound8="eighth.mid"var sound9="ninth.mid"var sound10="tenth.mid"var x=math.round(math.random()*9)if (x==0) x=sound1else if (x==1) x=sound2else if (x==2) x=sound3else if (x==3) x=sound4else if (x==4) x=sound5else if (x==5) x=sound6else if (x==6) x=sound7else if (x==7) x=sound8else if (x==8) x=sound9else x=sound10if (navigator.appname=="microsoft internet explorer")document.write('<bgsound src='+'"'+x+'"'+' loop="infinite">')else document.write('<embed src='+'"'+x+'"'+'hidden="true" border="0" width="20" height="20" autostart="true" loop="true">')//--></script>
@xmt1139057136 版主我看看哈
推荐你介入百度音乐api
导入一个js代码搞定一切
推荐你介入百度音乐api
导入一个js代码搞定一切
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号