Javascript Magic   Window Builder

The Window builder spits out three snippets of JavaScript code. The first is a function that opens a pop-up window according to the specifications you set below. The second calls the function from a hypertext link. The third calls the function from a form button.

Instructions:
1. Choose the URL, name, width, height, left, top, and set of features you want for your window.
Note: The URL and name will, by default, be hard-coded into the function. If you want them passed as parameters, simply check the Parameter box.

2. Click the View Source button, checking the See Window box if you want to see your window.
Note: You must close the pop-up window and click the View Source button each time you update the options in order to see the changes.

3. Cut and paste the code into your document where appropriate.

URL to open in window: parameter:
name of window: parameter:
width:    height:
left:    top:
menubar
toolbar
location
directories
status
scrollbars
resizable
dependent

see window

Paste this code into the <HEAD> of your document:

Paste this code into the <BODY> of your document:
Open window with link:
OR open window with form button: