Muzyka w tle (Random Background music player 2)
Sposób na muzykę jako tło strony
Wszystko zawarte w sekcji HEAD
<script> < !-- var sound1="first.mid" var sound2="second.mid" var sound3="third.mid" var sound4="fourth.mid" var sound5="fifth.mid" var x=Math.round(Math.random()*4) if (x==0) x=sound1 else if (x==1) x=sound2 else if (x==2) x=sound3 else if (x==3) x=sound4 else x=sound5 if (navigator.appName=="Microsoft Internet Explorer") document.write('<bgsound src='+'"'+x+'"'+' loop="infinite">') else document.write('<embed src='+'"'+x+'"'+'hidden="true" border="0" width="20" height="20" autostart="true" loop="true">') //--> < /script> |