View Full Version : on/off buttons for background music
08-03-2002, 07: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, 11:57 AM
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, 10: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 © 2017 vBulletin Solutions, Inc. All rights reserved.