最新国产好看的视频,伊人天堂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
政和县| 民乐县| 清水县| 泌阳县| 城市| 南陵县| 图片| 普兰店市| 板桥市| 西乌| 威海市| 澜沧| 临洮县| 汉沽区| 西乌珠穆沁旗| 曲水县| 运城市| 彭阳县| 克东县| 射洪县| 江西省| 安平县| 稻城县| 龙海市| 黔西| 元江| 阳新县| 博湖县| 慈溪市| 洛南县| 余江县| 图木舒克市| 鹤壁市| 镇巴县| 万安县| 南溪县| 灵石县| 沂源县| 合阳县| 隆尧县| 仁化县|