[Beschreibung]
erlaubt das Ein- und Ausschalten von Hintergrundmusik
[Kompatibilität]
[Code]
<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! * Script was modified by N8i (www.nightfire.ch) */ //Write the background's sound URL between the "" like in the example below musi="eineDatei.midi" //Don't edit from here on function mus1() { if (document.musiform.t.options.selectedIndex==0){ document.getElementById("mus").innerHTML="<embed src="+musi+" loop=-1>" } if (document.musiform.t.options.selectedIndex==1){ document.getElementById("mus").innerHTML="" } } document.write("<span id='mus' style='position:absolute;top:-90000'><embed src="+musi+" width=0 height=0 loop=-1></span>") //--> </script> <form name="musiform"> <select name="t" onchange=mus1()> <option>Enable background music <option>Disable background music </select> </form>
SuperProDesign
kopieren Sie bitte den Code