Javascript Reference
Categories: window

javascript window dialogLeft, dialogTop

@March 15, 2008, 1:22 a.m.
dialogLeft, dialogTopFirefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

Read/Write  

Indicate the offset distance of the left and top edges of a modal dialog window (created with the showModalDialog( ) and showModelessDialog( ) methods) relative to the top-left corner of the video screen. Although Internet Explorer does not balk at modifying these properties (in a script running in the modal dialog window), the changed values are generally not reflected in a repositioned dialog window. Initial values are set as parameters to the dialog methods.

 
Example
 
var outerLeft = window.dialogLeft;
 
Value

String, including the unit value (e.g., 80px).

 
Default

None.


Powered by Linode.