I been using a great little code that loads a page in the same window on exit. I just put onclick="xit=false" to stop the script when they click on a link on the page. BUT... How do you keep it from loading if someone clicks on a adsense ad?
Here's the script code...
Is there any way that the adsense block and this code can get along????Code:<body onUnload=xit()> <script language="JavaScript" type="text/JavaScript"> function xit() { window.location="http://domain.com"; } </script>
Thanks for any help you can offer.![]()



Reply With Quote

Bookmarks