View Full Version : on/off buttons for background music
08-03-2002, 08:32 AM
I would like a script to be able to turn background music on and off. Can anyone help please?
<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()">
08-05-2002, 12:57 PM
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?
07-01-2006, 11:36 PM
Thanks Pooh! Your script works great! I have tried it with as many as 8 different scripts on a page: no problems! WTG!
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.