How to Install Pop-under Windows


Have you ever wondered how sites were able to put up that little pop up window when you left that webpage? Have you ever thought that it would be neat to be able to have a window like that pop open when a visitor left your site?

Perhaps you would like to thank them for visiting. Maybe you would like to put up a reminder to check a special deal on another page of your site. You can even pop open a advertisement from one of your paying sponsors!

This kind of pop-up window is easy to code and will generate additional page views to your site every time visitors leave. Here's how it's done:

<body onUnload="window.open('hello.htm', 'newWindow','scrollbars=0,resizable=0,height=120,width=170')">

You must ensure that you place the onUnload inside of the <BODY> tag in your HTML document and, of course, you need to replace 'hello.htm' with the name of the file you wish to open.


From "Bravenet More Webmaster Tips and Tricks", Visit this page to view the full archives: http://www.bravenet.com/reviews/archives/tips.php


Return to Home page