...

View Full Version : Close pop-under on site exit



jomath
12-07-2006, 09: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?

ess
12-08-2006, 01: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.
Ess



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum