Ich hätte da eine Musikbox.
Allerdings weiß ich jetzt nicht, ob diese Musikbox alle Titel nacheinander Abspielt
HTML
<html>
<head>
<title>Song Select</title>
<script>
var sound="boom.au"
function soundOff(){
if (document.layers) {document.midi.document.write(" "); document.midi.document.close()}
if (document.all) midi.innerHTML=" "
}
function soundOn(){
if (document.layers) {
document.midi.document.write("<embed src="+sound+" autostart='true' loop='true' hidden='true'>"); document.midi.document.close()}
if (document.all) midi.innerHTML="<embed src='"+sound+"' autostart='true' loop='true' hidden='true'>"
}
function getNewSound(){
sound=document.level.request.options[document.level.request.selectedIndex].value;
soundOff()
soundOn()
}
</script>
</head>
<body>
<div id="midi" style="position:absolute; visibility:show; left:30px; top:-10px; z-index:5">
<embed src="cheers.mid" autostart="true" loop="true" hidden="true">
</div>
<div id="form1" style="position:absolute; visibility:show; left:30px; top:20px; z-index:5">
</div>
<form action="" name="level">
<table bgcolor=eeeeee cellpadding=10><td>
<table bgcolor=c0c0c0><td>
<TABLE WIDTH="225" CELLSPACING="0" CELLPADDING="5" BORDER="0">
<TR><TD>
<CENTER>
<FONT SIZE="+2">Pick a Song</FONT>
<select name="request" size="1" onChange="getNewSound()">
<option value="cheers.mid">pick a song (cheers)
<option value="panther.mid">Pink Panther
<option value="mash.mid">M*A*S*H
<option value="laworder.mid">Law & Order
<option value="mi-quiet.mid">Mission Impossible
</select></CENTER>
</td></tr><tr><td>
<CENTER><input type="button" value="Play" onClick="soundOn()">
<input type="button" value="Stop" onClick="soundOff()"></CENTER>
</TD></TR></TABLE>
</td></table>
</td></table>
</form>
</body>
</html>
Alles anzeigen
Andere Midis fügst Du in die Zeile ein
Test einfach, ob das was für dich ist ![]()
Quelle:"Homep@ge" 9/2000