Music Menu:

After seeing the random MIDI player, many viewers asked if a script could be done to play only the MIDIs webpage viewers select. Hence, we have the Music Menu. I hesitated to post this script up for the longest time because it is not multi-browser compatible, however that hesitation dissapeared when I added an alert for those Netscape users (like myself). Not a complicated script at all and only basic HTML knowledge needd to configure.
The source..


<center>
<form name=choose>
Music Menu:
<select size=1 onChange="midiplay(this);">
<option value="#">Click For Music
<option value="america.mid">America The Beautiful
<option value="cannon_d.mid">Cannon (key of D)
<option value="entrtanr.mid">The Entertainer
<option value="maplerag.mid">Maple Rag
<option value="pete_wlf.mid">Peter & the Wolf
</select>
</form></center>

<script language="JavaScript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

document.write('<bgsound src="#" id=midijuke loop=1 autostart="true">');

function midiplay(what) {
  if (document.all)  {
    document.all.midijuke.src = what.options[what.selectedIndex].value;
  }

  else {
    alert("Sorry, but the Music Menu is only accessible through MSIE4.0 and above.");
  }
}

//-->
</script>

Nic's JavaScript Page