www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 zoominherit Property
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 window.

Syntax

HTMLN/A
Scripting[ p = ] BODY.zoominherit [ = v ]

Possible Values

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

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

Remarks

The zoomInherit property causes child windows to inherit the zoom state of their parent.

The zoomInherit property is a feature of IE Client windows, Modeless Dialogs and Modal Dialogs.

When the property is 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 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

BODY

See Also

open
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG