The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › adding function pauseMusic (soundfile) and stopMusic(soundfile)
hi i am using
to play a music file on my site. and i am using
Click here to hear a sound
to call the function. now i want to add a pauseMusic function on the same a href=”#” so that when i click on the same link the music pauses.
i also want to add stopMusic(soundfile) and link it to another a href=”#” so, when i click on that link the music stops.
please help !!!