The Wayback Machine - https://web.archive.org/web/20080909125926/http://developer.mozilla.org:80/en/DOM/window.resizeBy

Mozilla.com

  1. MDC
  2. Main Page
  3. DOM
  4. window.resizeBy

Some features of this site require JavaScript.

window.resizeBy

« Gecko DOM Reference

Summary

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.

Languages

Page last modified 19:00, 29 Jan 2008 by Mgjbot

Files (0)

 
 
 
Morty Proxy This is a proxified and sanitized view of the page, visit original site.