dialogTop

This property is used to return the value of the offset between the top of the window and the top of the screen. It should be noted that this property is not used to create a dialog box. Instead, use the showDialog() method to create a dialog box.

syntax:

window.dialogTop

This Property is used to access attributes of the following:

window