Just a simple question...one in which I'm still learning and that's html, java, etc...Can you please give me an example of an exit script? I would like to put a small ad on just one of my site...Thanks for your assistance...
Exit Consoles
Collapse
X
-
.<SCRIPT language="Javascript">
< !-- BEGIN EXIT CODE
var console=true;
function exit()
{
if (console)
open("YOUR URL HERE");
}
// END EXIT CODE -->
</SCRIPT>
.<body onunload="exit()">
IM not to good at it myself
but that seems to work on my computer
my server wont let them work so I can't do much testing -
grrrrrrrrrrrrrrrr
it didn't show
I trhought if I put an ...... in front it would
well maby this will work
SCRIPT language="Javascript">
< !-- BEGIN EXIT CODE
var console=true;
function exit()
{
if (console)
open("YOUR URL HERE");
}
// END EXIT CODE -->
</SCRIPT
<body onunload="exit()"Comment
-
Comment
-
If you're gonna use mnesbitt's code, remember to add onclick="console=false" to those links (inside the A tags) that aren't meant to set off the exit console when clicked.Comment

Comment