asp.net.ph

Skip Navigation Links

dialogWidth Property

window Properties   Object Properties Summary


Sets or retrieves the width of the dialog window.

Syntax

HTML N/A
Script window.dialogWidth [ = iWidth ]

Possible Values

iWidth Integer specifying the width in ems.

The property is read/write with no default value.

Remarks

This property applies only to windows created using the showModalDialog method.

Example

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" ) 

 Show me 

Applies To

window

See Also

dialogLeft, dialogHeight, dialogTop


Need a break ?
Suggested Reading

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

If you have any question, comment or suggestion,
please send us a note