Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    Auckland, New Zealand
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    on/off buttons for background music

    Hi

    I would like a script to be able to turn background music on and off. Can anyone help please?

    bye
    Allyson

  • #2
    New Coder
    Join Date
    Jul 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <EMBED SRC="../music/VIVALDI%20Vier%20Jahreszeiten%20Der%20Fruehling.mid" AUTOSTART="true" hidden="true" name="myMuzac">
    <input type="button" value="Stop music" onclick="myMuzac.stop()">
    <input type="button" value="Play music" onclick="myMuzac.play()">

  • #3
    New Coder
    Join Date
    Jun 2002
    Location
    Auckland, New Zealand
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi

    This function does not work as it should. How would I develop the functions myMuzac() or should these functions be automatic. Can anyone help, please?

    bye
    Allyson

  • #4
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Pooh! Your script works great! I have tried it with as many as 8 different scripts on a page: no problems! WTG!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •