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

Mozilla.com

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

Some features of this site require JavaScript.

Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Example
  4. 4. Specification

window.sizeToContent

Table of contents
  1. 1. Summary
  2. 2. Syntax
  3. 3. Example
  4. 4. Specification

« Gecko DOM Reference

Summary

Sizes the window according to its content.

The DOM content should be loaded when this function is called, for example after the DOMContentLoaded event.

Syntax

window.sizeToContent() 

Example

window.sizeToContent();

Specification

DOM Level 0. Not part of any standard.

Languages

Page last modified 17:00, 18 Feb 2008 by Mgjbot

Files (0)

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