Mega Code Archive
Window resizeBy()
Syntax
window.resizeBy(numHort, numVert)
The resizeBy() method resizes the specified window by the number of pixels.
The numHort represents the number of horizontal pixels.
The numVert represents the vertical number of pixels.
If the numbers passed are positive, the window size is increased.
Negative numbers reduce the size of the window.