JavaScript Reference/Javascript Properties/dialogLeft
"dialogLeft" Example
<html>
<body>
<SCRIPT>
function function1()
{
event.srcElement.blur();
window.showModalDialog("http://www.wbex.ru", "",
"dialogWidth:5cm; dialogHeight:10cm;
dialogTop:0cm; dialogLeft:10cm")
}
</SCRIPT>
</HEAD>
<BODY>
<SELECT onchange="function1()">
<OPTION>Item 1</OPTION>
<OPTION>Item 2</OPTION>
<OPTION>Item 3</OPTION>
</SELECT>
</body>
</html>
"dialogLeft" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |window |
+----------------+--------------------------------------------------------------+
"dialogLeft" Syntax and Note
Note:
Read and write properties.
Specify the dialog window left coordinates.
Value:
A floating-point number followed by a unit designator
the default unit is em for IE4 and px for IE5+
Syntax:
window.dialogLeft = value
window.dialogTop = value