Click to Rate and Give Feedback
MSDN
MSDN Library
zoominherit Property
New for Windows Internet Explorer 8
Note: This documentation is preliminary and is subject to change.

Sets or gets the zoominherit property of the dialog box.

Syntax

[ p = ] window.zoominherit [ = v ]

Possible Values

pString that specifies or receives one of the following values.
no | 0Default. Causes the child window or dialog box to use the default zoom setting.
yes | 1Causes the child window or dialog box to inherit the zoom setting of its parent's window.

The property is read/write. The property has a default value of no | 0.

Remarks

The zoominherit property is a feature of Internet Explorer client windows and dialog boxes (both modal and modless). When set to "1" or "yes":

  • The open features property scrollbars item is forced to 1.
  • The open features property resizeable item is forced to 1.
  • The window or dialog box inherits the zoom percentage of the parent.

Example


window.showModalDialog("http://www.live.com",null,"height:200;left:100;resizable:no;scrollbars:no;zoominherit:1");
				

Standards Information

There is no public standard that applies to this property.

Applies To

window

See Also

open
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker