createPopup Method--------------------------------------------------------------------------------Creates a popup window.SyntaxoPopup = window.createPopup( [vArgs])
ParametersvArgs Optional. This argument is reserved for future use.  Return ValueReturns the popup window object.ResThe 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. ExampleThe following example shows how to use the createPopup method to create and display a pop-up window.Show Example<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>

解决方案 »

  1.   

    show Method--------------------------------------------------------------------------------Displays the pop-up window on the screen.Syntaxpopup.show(iX, iY, iWidth, iHeight [, oElement])
    ParametersiX Required. Integer that specifies the x-coordinate of the pop-up window, in pixels. 
    iY Required. Integer that specifies the y-coordinate of the pop-up window, in pixels. 
    iWidth Required. Integer that specifies the width of the pop-up window, in pixels. 
    iHeight Required. Integer that specifies the height of the pop-up window, in pixels. 
    oElement Optional. Object that specifies the element to which the x,y coordinates are relative. If none is given, the x,y coordinates are relative to the desktop, where (0,0) is the upper left corner. Return ValueNo return value.ExampleThe following example shows how to use the show method to create and display a pop-up window.Show Example<html>
    <head>
    <SCRIPT LANGUAGE="JScript">
    var oPopup = window.createPopup();
    function window_onload() {
        var oPopupBody = oPopup.document.body;
    oPopupBody.style.backgroundColor = "lightyellow";
    oPopupBody.style.border = "solid black 1px";    
        oPopupBody.innerHTML = "Display some <B>HTML</B> here.";
        oPopup.show(100, 100, 200, 50, document.body);}
    </SCRIPT>
    </head>
    <body onload="window_onload();">
    </body>
    </html>
      

  2.   

    SORRY! 原来的那个帮助文件比较老了,所以没有这些内容,我这些内容是在我安装 VS.net 里的MSDN里查出来的,即新的MSDN.
      

  3.   

    那有没有新chm供下载呢,E文不好,上了M$也不知道上那能载到。
      

  4.   

    你可以直接到微软的网站查询呀! 这个最全面权威了.http://msdn.microsoft.com/library/