Greetings all,
I desperatly need help! i can't seem to make the script work the way i need it to.
heres what im trying to accomplish: if the user leaves the site then it displays a pop-up stateing there leaving and that the next link is NOT affiliated with the originating site.
but if the user clicks on a link thats withing the site then the popup will not me displayed. either way is fine, IE pop java window or pop up new page.
here is the code i have created.....
<SCRIPT LANGUAGE="Javascript">
<!-- HIDE SCRIPT FROM OLD BROWSERS
// OPEN EXIT CONSOLE
var q=1;
function exit1() {
if (q==1) window.open(" self.focus();}
// STOP HIDING SCRIPT FROM OLD BROWSERS -->
</SCRIPT>
please help!
thanks in advance!
- Scott Kosterow
I desperatly need help! i can't seem to make the script work the way i need it to.
heres what im trying to accomplish: if the user leaves the site then it displays a pop-up stateing there leaving and that the next link is NOT affiliated with the originating site.
but if the user clicks on a link thats withing the site then the popup will not me displayed. either way is fine, IE pop java window or pop up new page.
here is the code i have created.....
<SCRIPT LANGUAGE="Javascript">
<!-- HIDE SCRIPT FROM OLD BROWSERS
// OPEN EXIT CONSOLE
var q=1;
function exit1() {
if (q==1) window.open(" self.focus();}
// STOP HIDING SCRIPT FROM OLD BROWSERS -->
</SCRIPT>
please help!
thanks in advance!
- Scott Kosterow