javascript window dialogHeight, dialogWidth

dialogHeight, dialogWidthNN n/a IE 4(Win) DOM n/a  

Read/Write  

Specify the height and width values of a modal dialog window created with the showModalDialog( ) and showModelessDialog( ) methods. Although Internet Explorer does not balk at modifying these properties (in a script running in the modal dialog window), the changed values are generally not reflected in a resized dialog window. Initial values are set as parameters to the dialog-opening methods.

 
Example
 
var outerWidth = window.dialogWidth;
 
Value

String, including the unit value (e.g., 520px).

 
Default

None.


2192,Nickname,Homepage or email,Comments here,Add comment