showModalDialog(sURL [, vArguments] [, sFeatures])  
//打开一个模式对话框  
//vArguments=需要向新开模式对话框传递的参数  
//sFeatures=(*dialogHeight:sHeight;dialogLeft:sXPos;dialogTop:sYPos;dialogWidth:sWidth;center:{ yes | no | 1 | 0 | on | off };dialogHide:{ yes | no | 1 | 0 | on | off };edge:{ sunken | raised };help:{ yes | no | 1 | 0 | on | off };resizable:{ yes | no | 1 | 0 | on | off };scroll:{ yes | no | 1 | 0 | on | off };status:{ yes | no | 1 | 0 | on | off };unadorned:{ yes | no | 1 | 0 | on | off };*)

解决方案 »

  1.   

    网页对话框中建两个iframe(A,B),这样iframe中的文件更新时还会产生新页面;
    当A页面更新时,通过参数传递到B,使B按条件进行更新(在onload事件中进行);
    ShowModalDialog的参数含义楼上的很详细,你惴摸一下就行了;
      

  2.   

    一、在主页面中加入一个<iframe name=test style="display: none"></iframe>
    在showmodaldialog出来的页中用<form target=test …>…</form>。
    这样提交时就不会弹出新的窗口了。
    二、关于参数的定义我给你一个实例:
    msg=showModalDialog("*.asp", "&&&&","dialogWidth=360px;dialogheight=120px;status:no;help:no");
    关在*.asp中用JS写一个返回值:window.returnValue = ****
    在*.asp中用str=window.dialogArguments可以得到"&&&&"值。
    注:这个例子是打开一个高120像素宽360像素没有状态栏没有帮助按钮的网页对话框,返回值为****,在主页面有用变量msg可得到这个值。
    三、网页对话框里的iframe是只能看看没啥用的,你通过form是传不到这个框体里的。
      

  3.   

    http://www.csdn.net/expert/topic/781/781508.xml?temp=.9076959
      

  4.   

    http://go6.163.com/colorweb/js/mengxhdialog.htm