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

dialogWidth Property

Internet Development Index

Sets or retrieves the width of the modal dialog window.

Syntax

window.dialogWidth [ = sWidth ]

Possible Values

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

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

Remarks

The dialogWidth 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.

Example

This example creates a dialog window using the dialogWidth property to set the new window's width.

<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
略阳县| 西充县| 绥阳县| 东海县| 通州区| 峨眉山市| 互助| 桓台县| 连州市| 迁西县| 如东县| 长兴县| 济宁市| 皋兰县| 榆中县| 凌云县| 若尔盖县| 田东县| 林口县| 呈贡县| 吴堡县| 惠来县| 巴林左旗| 建瓯市| 云霄县| 北辰区| 新竹市| 科技| 城步| 偃师市| 金山区| 凤城市| 吴旗县| 南丹县| 荥阳市| 乌兰察布市| 民丰县| 台江县| 望谟县| 丹东市| 宿迁市|