asp.net.ph

Skip Navigation Links

CSS Filter Reference

Abakada ~ Back to Basics


Window Object Properties

dialogTop Property

window Properties   Object Properties Summary


Sets or retrieves the top coordinate of the dialog window.

Syntax

HTML N/A
Script window.dialogTop [ = iTop ]

Possible Values

iTop Integer specifying the top coordinate 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 dialogTop object property to set the new window's relation to the top of the screen.

window.showModalDialog ( "modal.html","#550",
  "dialogWidth:7.5cm; dialogHeight:7.5cm;
  dialogTop:4cm; dialogLeft:0cm; status:0" ) 

 Show me 

Applies To

window

See Also

dialogLeft, dialogHeight, dialogWidth


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