PDA

View Full Version : stop button for background music.....


Mgkeeper
08-19-2002, 04:07 AM
Hi,

I want to put a background wav song for ppl to listen to on my site, but I want it to be hidden. The problem is, with it hidden, the person can't turn it off. Is there any script that I can use in a link that says, "turn music off"

x_goose_x
08-19-2002, 06:02 AM
<embed id="plyr" width="0" height="0" src="file.mp3">

<a href="javascript: document.getElementById('plyr').stop();">stop</a>