InMotion Web Site Hosting
InMotion Hosting Home


Idocs Guide to HTML

Popup Windows: width & height

width and height are the only required properties for a popup window. This line in our popup script creates a popup that is 400 wide and 200 high:

window.open(href, windowname, 'width=400,height=200,scrollbars=yes');

which gives us this popup

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.

InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050

More information can be found at the InMotion Hosting Main Site