Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2005
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to stop the background sound when a popwindow is open?

    Lets say when I open a HTML page, an autorun background sound is play at the back. This audio should be stopped when a pop window has open.

    What should be done for stopping the audio from playing when a pop window has opened.

    Hope someone could give me same idea.

    Thanks.
    Last edited by apple; 01-13-2005 at 02:59 PM.

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It depends on what properties the audio control has. Which one are you using?
    If it is the bgsound element, you might set it's volume to "-10000", or src to "";
    *this message will self destruct in n-seconds*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •