On Exit Popup Script Setup Instructions (Script Two):

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

This script also works in conjunction with the other On Exit Popup Script, in that both scripts will pop independently.

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 exit=true;
function exit2()
{
if (exit){
window.open("http://www.??????????.com","copy");
}
}
//-->
</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="exit2()";

for example:

<body onunload="exit2()";>

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.