Tom's Newbie Booster

Exit Box
An interesting alternative to the exit console


Description

This tool is a bit evil but I'm sure some people here will enjoy it. It works very much like an exit console - only it's a bit more tricky for the surfers to deal with. They get an OK / CANCEL box which pops up when they try to leave the site. Whether they close the box, click OK, or click CANCEL - they end up at your sponsor. See - I told you it was evil.

Here's an example...

Exit box in action


Setting up on your webspace...

STEP 1)

Paste this code into your head tag:



STEP 2) You'll need to add this to your BODY tag:

onBeforeUnload="exitbox()"

So that it actually looks like this:

<BODY BGCOLOR="#000000" TEXT="#FFFFFF" LINK="#FF0000" ALINK="#FF0000" VLINK="#FF0000" onBeforeUnload="exitbox()">

STEP 3) Then it's time to edit the window so that it looks the way you want it to. This is the tricky part. There are two things to change. Look for this part of the script first:

* * * BEFORE YOU LEAVE - you have to check this out!\n\nFOOTASTIC IS THE BEST FOOT FETISH SITE IN THE WORLD!\n\nPress OK to ENTER

And change that to your own text. This will be the code which appears in the OK / CANCEL box. It's important that you add in \n\n when you want to have a new line in the text.

THEN - change http://www.footastic.com to the URL you want to send them to. This could be to a sponsor, or to some other page of your choosing.



Enter Tom's Newbie Booster here
More tips, scripts and help...