Window.resizeBy() (Method)

Resize the window by a specified amount.

Availability:

JavaScript - 1.2
JScript - 3.0
Internet Explorer - 4.0
Netscape - 4.0
Property/method value type:undefined
JavaScript syntax:-myWindow.resizeBy(aChangeX, aChangeY)
-resizeBy(aChangeX, aChangeY)
Argument list:aChangeXA difference in pixels
aChangeYA difference in pixels

The window size will be altered by the horizontal and vertical amounts specified in the two parameters. The left and top edges will stay in the same place but the right and bottom edges will be adjusted to the new positions.

Warnings:

See also:Frame object, UniversalBrowserWrite, Window object, Window.moveBy(), Window.moveTo(), Window.onresize, Window.resizeTo()

insert figure 0073