JavaScript Window method: resizeBy()
[this page | pdf | back links]
The resizeBy() method (when applied to Window
objects in the JavaScript
BOM) resizes a window
by specified amounts (in the x and y directions) leaving the position of the
top left corner unchanged.
It
has the following syntax with the following parameters. It does not return a
value.
window.resizeBy(x, y)
|
Parameter
|
Required / Optional
|
Description
|
|
x
|
Required
|
Positive or negative
number specifying number of pixels to change width by
|
|
y
|
Required
|
Positive or negative
number specifying number of pixels to change height by
|
NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)