DOM:window.resizeBy
From MDC
Contents |
[edit] Summary
Resizes the current window by a certain amount.
[edit] Syntax
window.resizeBy(xDelta, yDelta)
[edit] Parameters
xDeltais the number of pixels to grow the window horizontally.yDeltais the number of pixels to grow the window vertically.
[edit] Example
// shrink the window window.resizeBy(-200, -200);
[edit] Notes
This method resizes the window relative to its current size. To resize the window in absolute terms, use window.resizeTo.
[edit] Specification
DOM Level 0. Not part of specification.