25.314. Window.resizeTo( ): resize a windowJavaScript 1.2:25.314.1. Synopsiswindow.resizeTo(width, height) 25.314.1.1. Arguments
25.314.2. DescriptionresizeTo( ) resizes window so it is width pixels wide and height pixels high. For security reasons, the browser may restrict this method to prevent scripts from making windows very small. For usability reasons, it is almost always a bad idea to change the size of a user's window. If a script created a window, the script can resize it, but it is bad form for a script to resize the window that it is loaded into. |