On Exit Popup Script Setup Instructions:

This popup will load when surfers close one of your pages with the script on it.

Instructions to add this script (3 steps per page added to):

Step 1:

Add to following javascript to the HEAD code (<head> </head>) part of each web page:

<script language="JavaScript">
<!--
var spamem = true;
function display()
{
var url='http://www.??????????.com/';
var win='width=800,height=220,toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,copyhistory=yes';
if (spamem)
msg=open(url,'XXX_Sites',win);
}
// -->
</script>

Note: Change the height value to height=500 for a larger popup.

Step 2.

Add the following code to the BODY line of code:

onunload="display()";

for example:

<body onunload="display()";>

Step 3.

You must add the following piece of code to the end of every a href="" piece of code in the main page area. Please add:

onclick="spamem=false"

for example:

<a href="????" onclick="spamem=false">

If you do not do this, the popup will occur whenever they click any link. Tip: Look at using your Search function in your html editor (eg. Home Site) to find every a href="" piece of code.

 

Note: Be sure to change ?????????? to your Directories address as sent in your setup/welcome email.