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





About the Author
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.