window Properties Object Properties Summary
Sets or retrieves the width of the dialog window.
HTML |
N/A |
Script |
window.dialogWidth [ = iWidth ] |
iWidth |
Integer specifying the width in ems. |
The property is read/write with no default value.
This property applies only to windows created using the showModalDialog method.
The following example demonstrates the creation of a dialog window using the dialogWidth object property to set the new window's width.
window.showModalDialog ( "modal.html","#555",
"dialogWidth:10cm; dialogHeight:7cm; status:0" )
This feature requires Microsoft® Internet Explorer® 4.0 or later.
Show me
window
dialogLeft, dialogHeight, dialogTop