Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Sets or retrieves the width of the modal dialog window.
Syntax
window . dialogWidth [ = sWidth ]Possible Values
sWidth | Variant that specifies or receives the width of the dialog window (see Remarks for default unit of measure). |
The property is read/write. The property has no default value.
Remarks
The dialogWidth property applies only to windows created using the showModalDialog and showModelessDialog methods.
The default unit of measure for dialogHeight and dialogWidth in Microsoft® Internet Explorer 4.0 is the em; in Internet Explorer 5 it is the pixel. The value can be an integer or floating-point number, followed by an absolute units designator ( cm , mm , in , pt , pc , or px ) or a relative units designator ( em or ex ). For consistent results, specify the dialogHeight and dialogWidth in pixels when designing modal dialog boxes.
Example
This example creates a dialog window using the dialogWidth property to set the new window's width.
<SCRIPT>
Standards Information
There is no public standard that applies to this property.
Applies To
|
window |
Home | Top | Free Ajax Editor | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |