Language References
Sets or retrieves the left coordinate of the dialog window.
HTML |
N/A |
Script |
window.dialogLeft [ = iLeft ] |
iLeft |
Integer specifying the left coordinate in ems. |
The property is read/write with no default value.
This property applies only to windows created using the showModalDialog method.
The following example demonstrates the creation of a dialog window using the dialogLeft object property to set the new window's relation to the left of the screen.
Note Do not break the script code into two lines as in the fourth line of the example. This was done for readability only.
window.showModalDialog ( "modal.html","#055",
"dialogWidth:7.5cm; dialogHeight:7.5cm;
dialogTop:0cm; dialogLeft:9.5cm; status:0" )
This feature requires Microsoft® Internet Explorer® 4.0 or later.
Show me
window
dialogHeight, dialogTop, dialogWidth