DekGenius.com
Team LiB   Previous Section   Next Section
Window.resizeTo( ) resize a window

Availability

JavaScript 1.2

Synopsis

window.resizeTo(width, height)

Arguments

width

The desired width for the window.

height

The desired height for the window.

Description

resizeTo( ) resizes window so it is width pixels wide and height pixels high. For security reasons, the browser may restrict this method so that neither width nor height is smaller than 100 pixels.

    Team LiB   Previous Section   Next Section