View Full Version : Close pop-under on site exit

12-07-2006, 08:51 PM
I have a pop-under that plays continuous music while a visitor navigates throughout the site (as insisted on by the client). The client requested that the pop-under, and therefore the music, closes when a visitor navigates outside the site. Can anyone help with this?

12-08-2006, 12:08 AM
try adding this to your <body> tag

<body onunload="javascript: function_to_close();">

Where function_to_close...should take care of closing the popup.

good luck.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum