TOC PREV NEXT INDEX

Put your logo here!


window.resizeBy()


Resizes the current window by a certain amount.

Syntax

window.resizeBy(xDelta, yDelta) 

Parameters

xDelta is the number of pixels to grow the window horizontally.

yDelta is the number of pixels to grow the window vertically.

Example

// shrink the window 
window.resizeBy(-200, -200); 

Notes

This method resizes the window relative to its current size. To resize the window in absolute terms, use window.resizeTo().

Specification

DOM Level 0. Not part of specification. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX