HTML Popup / Pop Up Windows


A popup window is a web browser window that is smaller than standard windows and without some of the standard features such as tool bars or status bars. For example, this link opens a medium-sized popup window. Popup windows (aka popups, and pop ups) are popular for small sidebar-style pages that are digressions from the main page.

Popups are one of the trickiest effects in web development. More than one web developer has been reduced to tears trying to get popups to work correctly. Furthermore, some irresponsible popup techniques have made many web pages handicapped and search engine innaccessible.

This tutorial will walk you step-by-step through creating popup windows, including giving you a complete set of copy-and-paste JavaScript code. We'll start with a basic example, showing the main pieces to a popup. Then we'll show the techniques for targeting a link inside the popup the main page. Finally we'll work through the many parameters for the open() command that adds features to your popups.

Popup Windows: The Basics >