Note: This documentation is preliminary and is subject to change.
Sets or gets the zoominherit property of the dialog window.
Syntax
HTML | N/A |
---|
Scripting | [ p = ] BODY.zoominherit [ = v ] |
---|
Possible Values
p | String that
specifies or receives one of the following values.no | 0 | Default. Causes the child window or dialog to use the default zoom setting. | yes | 1 | Causes 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
See Also
open