| Exit Butler |
|
Select all (ctrl 'A') the text script INSIDE of this text box directly below and copy it to your clipboard (ctrl 'C')
|
|
Open a your webpage that you want exit butler to load in a program such as Wordpad or Notepad and paste the above text (ctrl 'V') in between the HEAD Tags of the document. The head of your webpage should now look like the code directly below. Edit the RED text only to reflect the web address for exit butler that will be loaded if the viewer chooses.. <HEAD> <script
language="JavaScript"> function
CreateCookie(name, value, expiredays) function
ReadCookie(cookiename) function
ExtractCookieValue(val) function
GoodBye() //
This is what the prompt will ask the visitor when
the leave your website. //
This is what the prompt will say if they choose to
see what you asked above //
This is what the prompt will say if they choose to
not see what you asked function
MainGoodBye() </HEAD> |
|
Now you must tell the website that you want exit butler to load when the visitor exits your page. To do that include this line into yout <BODY tag. <body onunload="MainGoodBye()">
|
|
|
|
After you have embedded the Head script into your page and you have added the body code correctly, you are ready to upload your pages! Enjoy! |