⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 随机midi控制播放[1]

📁 网页特效
💻
字号:
<script LANGUAGE="JavaScript">
song = new Array(5);  //与Midi乐曲数量对应=乐曲数量-1
title = new Array(5);  //与Midi乐曲数量对应=乐曲数量-1
song[0] ='xfile.mid'
song[1] ='007.mid'
song[2] ='0072.mid'
song[3] ='999dmg.mid'
song[4] ='yongxinliangku.mid'
song[5] ='titanic.mid'
title[0] = 'X-档案主题曲'  //Midi曲目
title[1] = '007主题曲1'
title[2] = '007主题曲2'
title[3] = '999朵玫瑰'
title[4] = '用心良苦'
title[5] = '泰坦尼克主题曲'

index = Math.floor(Math.random() * song.length);document.write("<DL>\n");
document.write("<EMBED SRC="+song[index]+" width=140 height=25 autostart=true controls=middleconsole loop=infinite BGCOLOR='#000000'");
document.write(' TEXT="#FFFFFF">');
document.write("<BR>");
document.write("现在随机播放的Midi乐曲是: ");
document.write("<font color=red>");
document.write(title[index]);
document.write("</font>")
document.write("</DL>\n");
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -