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