如题谢谢各位啦~

解决方案 »

  1.   

    window.showModalDialog("xxxxx.aspx", '', '');
    xxxxx.aspx是你要打开的页面的名称。
      

  2.   

    window.showModalDialog("filename.htm",var_name)//传递var_name变量
    在filename.htm中读取和设置var_name:
    alert(window.dialogArguments)//读取var_name变量
    window.dialogArguments="oyiboy"//设置var_name变量
      

  3.   

    是这样的,我对Window.showModalDialog不太了解,所以我用的是一小段弹出窗口的JS脚本,如下:<script language="javascript">
    var popUpWin=0;
    function popUpWindow(URLStr, left, top, width, height)
    {
    if(popUpWin)
    {
    if(!popUpWin.closed) popUpWin.close();
    }
    popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
    }
    </script>可现在我不知道怎么把Window.showModalDialog这个函数加进去了~我正在看Window.showModalDialog相关的帖子和资料~谢谢各位~~
      

  4.   

    把open换成showModalDialog就可以了
      

  5.   

    question is soluted,now everyone can see here,wait you answer
    http://community.csdn.net/Expert/topic/4305/4305489.xml?temp=.0293085
      

  6.   

    我的页面中用了Session,再使用showModalDialog会有问题~在现有的情况下,有能解决问题的方法么??谢谢各位了~~  ^o^