今天是

爱酷家


当前位置:首页 > 资源收藏 > 特效代码

播放MIDI音乐的小脚本特效

收集整理   发布时间:2012-10-30 21:57:00   阅读

播放MIDI音乐的小脚本特效.

代码:
<SCRIPT LANGUAGE="JavaScript">

<!--
function PlaySong(SongURL)
{

PopUp = window.open (SongURL, "Crescendo", "toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizeable=no,copyhistory=no,width=200,height=30")

}
//-->

</SCRIPT>
<FORM NAME="midiform"><SELECT NAME="list"><OPTION VALUE="song4.mid" [SELECTED]>MIDI1_NAME
<OPTION VALUE="song2.mid">MIDI2_NAME
<OPTION VALUe="song3.mid">MIDI3_NAME
</SELECT>
<P><INPUT TYPE=BUTTON VALUE="PLAY MIDI" onClick="PlaySong(midiform.list.options[midiform.list.selectedIndex].value)">
</FORM>

 



注:⊙如转载本站原创作品,请务必包保留本文地址:

内容: