
Resize the Browser On-the-Fly
If your Web page is formatted to look best in a certain size of window, you can try resizing the visitor’s browser using the resizeTo() method. Do this when the page loads. You need to provide the width and length values in pixels. This code resizes the browser to 640