|
EXAMPLE
1) Insert this script in the <HEAD>,
between <HEAD> and <BODY> or in the <BODY> section of the page.
2) Insert this FORM in the <BODY> section where you want the multi midi file player
to appear in the page.
3) Insert the onload event handler inside the
<BODY> tag as follows:
<body
onload="cls()",
followed by other tags such as bgcolor, etc..
copy (CTRL-C) & paste
(CTRL-V)
4) You need to name the midi files you wish to use as song1.mid, song2.mid etc..
In the script you define how many songs you are
going to use and their names:
song[1] = "Guitar
# 1"
song[2] = "Guitar # 2"
song[3] = "Piano # 3"
song[4] = "Jazz guitar # 4"
In this piece of code you define where the midi
files are stored:
location.href='midifiles/song'+x+'.mid'
Enjoy the script !
|