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)

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #34709

    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 !!!

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.