okay, so i'm working on this site, the owners of which wish to have uninterupted music playing throughout the duration of the user's visit.
i have cobbled together a script which opens a "popunder" window with an embedded sound file. so far so good.
what i need to do now is figure out how to determine when a user leaves the site and closes the music window. i have a script which will (almost) do it. however it uses an "unUnload" command so it closes the window whenever the user leaves any page.