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

createPopup Method

Internet Development Index

Creates a popup window.

Syntax

oPopup = window.createPopup( [vArgs])

Parameters

vArgs Optional. This argument is reserved for future use.

Return Value

Returns the popup window object.

Remarks

The pop-up window is initially in a hidden state.

When an element has focus and causes a popup to appear, the element does not lose focus. Because of this, an onblur event associated with an element that creates a popup will not occur when the popup is displayed.

Example

The following example shows how to use the createPopup method to create and display a pop-up window.

<HTML>
<HEAD>
<TITLE>Popup Example</TITLE>
<SCRIPT LANGUAGE="JScript">
var oPopup = window.createPopup();
function ButtonClick()
{
var oPopBody = oPopup.document.body;
oPopBody.style.backgroundColor = "lightyellow";
oPopBody.style.border = "solid black 1px";
oPopBody.innerHTML = "Click outside <B>popup</B> to close.";
oPopup.show(100, 100, 180, 25, document.body);
}
</SCRIPT>
</HEAD>
<BODY>
<BUTTON onclick="ButtonClick()">Click Me!</BUTTON>
</BODY>
</HTML>

Standards Information

There is no public standard that applies to this method.

Applies To

window

See Also

Using the Popup Object, document, show, hide, isOpen
天气| 梅河口市| 邵武市| 铜川市| 竹山县| 行唐县| 团风县| 东安县| 丹江口市| 固原市| 双柏县| 洞头县| 水富县| 商水县| 阆中市| 尚义县| 沙雅县| 虞城县| 同心县| 承德市| 绥芬河市| 句容市| 礼泉县| 阳曲县| 庆安县| 洪湖市| 黄冈市| 偃师市| 兴义市| 社旗县| 南江县| 汝阳县| 全椒县| 云梦县| 峨山| 林周县| 墨江| 安国市| 虎林市| 正宁县| 巴彦淖尔市|