| ||||||||||||||||||||||||||||||||||||||||||||||
Free Script To Open An On-Exit Pop-Up Window When Someone Leaves Your WebsiteThis is especially effective for getting more subscribers - it gives you one last chance to convince a visitor who is leaving that they should take advantage of your generosity and sign up for your newsletter. Follow these steps for each page that you want an exit-pop on: Step 1: Create a plain html page will fit entirely within a window about 250 by 250 pixels, with your "Thanks for Visiting" message or your subscription form, or a 'Last Chance' sign up offer.... whatever. Step 2: Place the following header script component between the <HEAD> and </HEAD> tags. Change the height and width parameters as needed and paste the URL of your last chance page in the "var url" field. Step 3: Paste onUnload="exitwindow()" into your <BODY> tag so it looks something like this: Step 4: Add onclick="exit=false" to all internal links where you DO NOT want the exit pop to open, so they look something like this: Note: The onclick="exit=false" must be added to ALL internal links and all links that open in a new window - otherwise, the Exit Popup will be showing up every time someone goes to a different page on your website. It works best when it only shows up when people actually leave your website. Step 5: Upload the edited pages to your server. That's it. Pre-Load Your Exit Pop (Optional) This trick loads your exit pop content into the browser as the page is loading. This makes it appear much faster when triggered by the visitor leaving the page. To make this work, simply edit the URL of the following and paste just before the </BODY> tag: <iframe src="http://yoursite.com/exitpopURL.html" name="exitwindow()" height="0" width="0" noresize></iframe> It should look something like this: |
|
|||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||
Home Contact Site Map About User Agreement & Disclaimer Privacy Policy Links Directory
|
Disclaimer: By using any of the free webmaster tools on this site you agree that it is you who has sole responsibility and liability for any errors that may occur to your website or web server as a result. If you are not prepared to take sole responsibility for your actions then you must agree not to use any of the webmaster tools on this site.
|
Copyright 2004-08 © BLT-Web.com Original Design by Iron Spider, heavily modified by me.