Writer’s Secret Exit Pop
Get the Exit Pop Up Codes for Writer’s Secret
Open Front Page, Dreamweaver or whatever html editor you prefer
Click the HIGHLIGHT ALL button below, then right click and choose COPY. Then PASTE it in a text or html editor.
Replace YOUR-ID-HERE with your ID.
When you’re done that, save the page to your hard drive and name it: console22.html
THE FILE MUST BE NAMED EXACTLY LIKE THIS: console22.html
Click here to download the required image to your hard drive. When you click the link, it will open in a new window. Right Click on the image, and choose "Save Picture As" from the drop down menu.
Upload console22.html and the graphic writersecret.gif to your web site server.
Click the HIGHLIGHT ALL button below, then RIGHT CLICK on the hightlighted text, and choose COPY. Then PASTE that text in between the <HEAD> </HEAD> tags on the page you want the pop up window to launch from.
In Dreamweaver, you select Window from the toolbar the HTML. That opens up your page code. If you can’t find the </HEAD> tags, you right click on your mouse, select find and type in head. Make sure that "Find What" is set to html source.
In Front Page, you just click on the html tab. That’s why I like Front Page for beginners. It’s simpler.
Copy the following code from the box below: onunload="xit()"
Paste the code in the opening BODY tag of your page. The BODY tag immediately follows the closing head tag.
Highlight and copy the following code: onClick="exit=false"
Paste that code on any link or button your page has. That will keep the exit popup from flying open when a link or order button is clicked.
Here are several examples:
This submit button has the following html code:
<input type="SUBMIT" name="submit" value="Submit" onClick="exit=false">
Here is how you paste the code in a link:
FTP your page to your web host. Go to the URL of the page you put the code on. Click the links you placed the onclick=false code on. They should NOT trigger the popup.
Hit reload or refresh and the exit page should pop up. Then when you click on it, it should take you to the new web site.