Scenario: You click on a popup and it opens and audio starts to play. You click to the next page without closing the popup, and the new audio plays on top of the popup audio. Is there a way to stop the popup audio upon clicking to the next page?
I would advise not using pop-up windows at all. I never use them now and instead just group some initially-hidden and ‘always on top’ objects on the page (i.e. at least a text box, a semi-transparent background shape to mask the standard content, and a close button to hide the group) and trigger this to be shown at whatever point you would show your pop-up window. This approach avoids a lot of issues that can arise when using popups.
Have to agree with mallow76, popups in fact are seen as quite the evil-doers in a lot of UI/UX concerns.
The developers/designers i work with i do urge mostly NOT to use popups. In most cases you can work around them by using a seperate group to hide/show.
If you want to check out the pros and cons of popups, there are quite a few threads to find about this on the web.
Just a sample:
You could use a “Lightbox”-Popup instead of a real popup. This way the popup is on the same page and will be gone when the user goes to the next page.
As it’s “just” an audio for the feedback popup you could play the audio on the main page instead of the popup, so it will be controllable from the main page. It should make no real difference for the user.