Pinteke
10-19-2003, 05:57 PM
Hey,
i've made a website but i want to improve it. I've some backgroundmusic and i wanno show a button to turn it on or off. But when i do this there is always a little screen of windows media player how do i remove this?:confused:
the code i used:
<script>
musi="track1.mp3"
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'><embed src="+musi+" width=0 height=0 loop=-1></span>")
</script>
<select name="t" onChange=mus1() >
<option selected>Speel muziek
<option>Stop de muziek
</select>
WHat do i do wrong pls help me!
thx
i've made a website but i want to improve it. I've some backgroundmusic and i wanno show a button to turn it on or off. But when i do this there is always a little screen of windows media player how do i remove this?:confused:
the code i used:
<script>
musi="track1.mp3"
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'><embed src="+musi+" width=0 height=0 loop=-1></span>")
</script>
<select name="t" onChange=mus1() >
<option selected>Speel muziek
<option>Stop de muziek
</select>
WHat do i do wrong pls help me!
thx