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

dialogTop Property

Internet Development Index

Sets or retrieves the top coordinate of the modal dialog window.

Syntax

window.dialogTop [ = sTop ]

Possible Values

sTopVariant that specifies or receives the top coordinate of the dialog window (see Remarks for default unit of measure).

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

Remarks

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

The default unit of measure for dialogTop 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 dialogTop in pixels when designing modal dialog boxes.

Example

This example creates a dialog window using the dialogTop property to set the position relative to the top of the screen. Do not break the script code into two lines as in the fourth line of the example. This was done for readability only.

<SCRIPT>
function someMessage()
{
event.srcElement.blur();
window.showModalDialog("message.htm", "",
"dialogWidth:5cm; dialogHeight:10cm;
dialogTop:0cm; dialogLeft:0cm")
}
</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
鸡泽县| 思南县| 布尔津县| 叶城县| 五常市| 揭西县| 银川市| 博爱县| 锦屏县| 米林县| 墨玉县| 延庆县| 建阳市| 景宁| 博白县| 东乡族自治县| 庆安县| 龙泉市| 大石桥市| 衡山县| 江川县| 武清区| 葫芦岛市| 双江| 岑溪市| 阳山县| 西乌珠穆沁旗| 通渭县| 昌都县| 休宁县| 康定县| 云林县| 永定县| 民县| 霍林郭勒市| 沅江市| 平南县| 苗栗县| 榕江县| 灵武市| 棋牌|