This set of short, easy scripts shows six different ways to close a window from JavaScript, including closing windows from a clicked link, a clicked image, or a clicked form button.
This script implements a draggable layer that can be used much like a popup window... but without the usual focus problems that popups often imply. Also included are simple controls to show or hide the draggable layer.
The JavaScript Window Meta-object is a JavaScript object that adds custom functions and properties to the standard JavaScript Window object. With this object you can exercise greater control over the display and functionality of browser windows with fewer lines of code and without worrying about cross-platform compatibility issues.
Use this script to launch a popup window that automatically loads an image and resizes itself to fit neatly around that image. The script also places a title you set in the titlebar of the popup window.