The Window Constructor

The Window constructor gives you three sections of JavaScript code to insert within your own HTML PAGE. The first section of code, is a function that opens a pop-up window according to the information you supply below. The second section of code, calls the function from a hypertext link. The third section of code calls the function from a form button, this is a option.

Instructions for use:
1. Choose your URL, including name, width, height, left and top, then set the features you require for your new window.

2. Click the View Source button, If you wish to view your new window check the View my new window box, this will allow you to see the new window before you copy & paste the code into your existing script.

3. Once you have the new window to your satisfaction Copy & paste into your existing script where shown.

URL to open in window: parameter:
name of new window: parameter:
width px: height px:
left px: top px:
menubar
toolbar
location
directories
status
scrollbars
re-sizable
dependent
View my new window
Paste this script into the HEAD section of your document:

Paste this script into the BODY section of your document:

Open window with a link:
open window with a button: