Resources for Pop-Up Windows
Web Marketing Today Premium, Issue 84, Sept-Oct 2004
Here are some resources I've found to manipulate pop-up windows. Some I use everyday with certain modifications. Others are untested. I am not a JavaScript expert and can't provide answers to questions you might have about these programs. My
suggestion is to experiment, have lots of patience, and get a good book on JavaScript, such as the JavaScript & DHTML Cookbook by Danny Goodman (O'Reilly, 2003; ISBN 0596004672).
Simple Pop-Up Windows
![]() Unfortuantely, most of the automatic pop-up windows mentioned in this article can be blocked by various pop-up blockers. The best code I've found so far is Michael Hopkins' Dynamic Popup Generator. I use it on my site to get subscriptions to my newsletter. |
"Pop-Up Window," Beck Web Servers, 12/13/97. Here's the JavaScript I use to open windows to provide an answer or short explanation. It is simple and foolproof. If the visitor doesn't allow Java Script or has pop-ups turned off, opens another webpage instead.
Martin Webb, "The JavaScript Pop-up Window Primer," Internet Related Technologies IRT.com, 11/9/98. Intro to pop-up windows.
Martin Webb, "Almost complete control of pop-up windows," Internet Related Technologies IRT.com, 2/27/00. Gives the ins and outs of JavaScript window control.
Charity, Kahn, "A function for all windows," Builder.com, 1/14/98. A clearly written explanation of the simple JavaScript used.
Brian Gosselin, "Tutorial - Javascript Windows," ScriptAsylum.com, 3/27/02. A slightly different JavaScript approach to opening windows.
Delayed Pop-Up Windows
Ronnie T. Moore, "Delayed Popup," The JavaScript Source. Delays an automatic pop-up for a few seconds after the visitor has arrived on the page.
Cookie to Prevent Multiple Automatic Pop-Ups
"Cookies: Only Popup Once," The JavaScript Source. When a window first pops up a cookie is placed on the browser so it doesn't pop up again on the same website. When I implemented this script, however, I found that it didn't always prevent the pop-up from appearing again. Your programmer may need to do some testing and alteration.
Print a Pop-Up Window
Nicholas Spiegelberg, "Print Page," Nic's JavaScript Page. Makes a print button at the bottom of a pop-up (or any HTML page) to make it easy for people to know how to print it out.
Close a Pop-Up Window
Nicholas Spiegelberg, "Opening and Closing Windows," Nic's JavaScript Page. Produces buttons to open and close windows.
Pop-Unders
Michael New, "Popunder Power!" MichaelNew.net. Script rotates randomly between various URLs using a cookie that remembers which pop-under URLs your visitors have already seen.
"The Infamous 'Pop Under,'" DesignNewz, 8/14/2001. Explains some uses for pop-unders and offers a simple script.
Articles on Pop-Up Windows
Here are 50+ articles that come up under a search of our Web Marketing Info Center for the word "pop-up". They'll help you see other viewpoints and learn more.
Sample newsletter. We respect your privacy and never sell or rent our subscriber lists. Subscribing will not result in more spam! I guarantee it!


