HOME ~ RESOURCE KIT ~ WEBMASTER'S ZONE ~ JAVASCRIPT ~ DESIGN TIPS
BACK TO JAVA
Java pop-up windows
This page illustrates how to make windows open when a page is visited or when leaving a page. This does both. Two windows open when the page loads. one opens upon leaving the page. This last window has a size specification included.
This is one of the little tricks sites often use when they want to force you to see other links or information. It can be frustrating to the user and slow the connection. It may even crash the browser if used to excess.
I recommend using this effect for a specific and clear purpose such as to spawn a navigation window when needed. Read the source code to see how this is done. The page will not work when saved and opened off-line without the pages referenced so is not ideal for many situations. You will need to modify the page references if used elsewhere.