The Pop Up Window


Here is the script for the popup window:
The code below consists of an HTML form which calls script to produce a new browser window.

<FORM>

<input type="button" value="click me!" onClick="window.open('popup.html','','width=425,height=350,screenY=175,screenX=150')">
</FORM>


Window.open('popup.html') causes another browser window to 'pop up.' The width and height the window can be set to whatever you want, and the event that opens the popup widow can be set to any event you would like. Any valid URL can be substitued for 'popup.html'.

More Popular JavaScript
Talk to the authors! Credits
Home