Jump to content


Background Music Switch

  • Please log in to reply
No replies to this topic

#1 loyalscot

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 11 April 2006 - 08:09 PM

Hi I would like to use this background music switch script but need the page load option to default to music 'off' instead of 'on' can anyone help plz?

<!--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){
document.write("<span id='mus' style='position:absolute;top:-90000'><embed src="+musi+" width=0 height=0 loop=-1></span>")
<select name="t" onchange=mus1()>
<option>Music On
<option>Music Off

Many Thanks for any help given.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users