asp.net.ph

Skip Navigation Links

CSS Filter Reference

Abakada ~ Back to Basics



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

This feature requires Microsoft® Internet Explorer® 4.0 or later.

 Show me 

Applies To

window

See Also

dialogLeft, dialogHeight, dialogWidth




Need a break ?
Suggested Reading

>

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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