最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

dialogHeight Property

Internet Development Index

Sets or retrieves the height of the modal dialog window.

Syntax

window.dialogHeight [ = sHeight ]

Possible Values

sHeightVariant that specifies or receives the height of the dialog window (see Remarks for default unit of measure).

The property is read/write. The property has no default value.

Remarks

The dialogHeight property applies only to windows created using the showModalDialog and showModelessDialog methods.

The default unit of measure for dialogHeight and dialogWidth in Microsoft® Internet Explorer 4.0 is the em; in Internet Explorer 5 it is the pixel. The value can be an integer or floating-point number, followed by an absolute units designator (cm, mm, in, pt, pc, or px) or a relative units designator (em or ex). For consistent results, specify the dialogHeight and dialogWidth in pixels when designing modal dialog boxes.

Although a user can manually adjust the height of a dialog box to a smaller value—provided the dialog box is resizable—the minimum dialogHeight you can set using script is 100 pixels.

Example

This example creates a dialog window using the dialogHeight property to set the new window's height.

<SCRIPT>
function someMessage()
{
event.srcElement.blur();
window.showModalDialog("message.htm", "",
"dialogWidth:5cm; dialogHeight:10cm")
}
</SCRIPT>
</HEAD>
<BODY>
<SELECT onchange="someMessage()">
<OPTION>Item 1</OPTION>
<OPTION>Item 2</OPTION>
<OPTION>Item 3</OPTION>
</SELECT>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

There is no public standard that applies to this property.

Applies To

window
祁连县| 上栗县| 龙胜| 上栗县| 白水县| 嘉义县| 邯郸县| 邯郸市| 鄂伦春自治旗| 南汇区| 莱芜市| 霞浦县| 柳林县| 唐海县| 古蔺县| 罗城| 宜阳县| 大姚县| 乌兰浩特市| 甘洛县| 恩平市| 麻江县| 巩留县| 闻喜县| 垦利县| 青铜峡市| 宁化县| 靖边县| 阳城县| 义乌市| 诏安县| 荆州市| 平定县| 甘南县| 南安市| 灵宝市| 克东县| 鱼台县| 清涧县| 屏边| 泸州市|