Det er ikke mig der har fundet på det, men se kommentaren til sidst:
<!-- ONE STEP TO INSTALL BACKGROUND MUSIC SWITCH:
1. Copy the coding into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the BODY of your HTML document -->
<BODY>
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!!
http://javascript.internet.com -->
<!-- Original: SPD team (webmaster@superprodesign.com) -->
<!-- Web Site:
http://www.superprodesign.com -->
<script>
<!--Original script by SPD. Visit us for more scripts like this one at
www.superprodesign.com Forbidden by copyright law to remove this comments under any situation. Enjoy! -->
<!--Write the background's sound URL between the "" like in the example below-->
musi="1mid.mp3"
<!--Don't edit from here on-->
function mus1()
{
if (t.options.selectedIndex==0){
mus.innerHTML="<embed src="+musi+" loop=-1>"
}
if (t.options.selectedIndex==1){
mus.innerHTML=""
}
}
document.write("<span id='mus' style='position:absolute;top:-90000'><embed src="+musi+" width=0 height=0 loop=-1></span>")
</script>
<select name="t" onchange=mus1()>
<option>Enable background music
<option>Disable background music
</select>
<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="
http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 1.29 KB -->
Lidt smart, synes jeg. Med lidt tilpasning af ovenstående, lidt fantasi og gøren sig umage: Knald den ind i <object> istedet for <embed>, så overholder du HTML 4.01 ... og det virker