add an iframe inside your dialog page and load the new page into that iframe

解决方案 »

  1.   

    1.
    <HTML>
    <HEAD>
    <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
    </HEAD>
    <script language=javascript>
    function OpenWindow()
    {
        s1="<html><head><title>dome</title></head><body><h2>this is a example.</h2></body></html>"
    window.showModalDialog("about:" + s1)
    }
    </script>
    <BODY>
    <table>
    <input type=button onclick=OpenWindow() value="Click it">
    </BODY>
    </HTML>
      

  2.   

    vxhelp:我要的是在自身页面装载新的页面,不要谈出新窗口。
      

  3.   

    在你打开的那个web对话框里用这样的文件:<html>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
    <frameset rows="*,0" name="frameSetID" border="0">
    <frame src="xslitemSelect.asp">
    <frame src="about:blank">
    </frameset>
    </html>在xslitemSelect.asp提交到_self就不会出现新窗口了!
      

  4.   

    谢谢你们,可是可不可以不用iframe或者frameset呢?谢谢!
    是啊,我就是要用script的方法,可是怎么用呢?