用div来模拟吧用alert函数的话没办法

解决方案 »

  1.   

    window.showModalDialog("URL","","dialogWidth=,dialogHeight=,dialogTop=,dialogLeft=")
      

  2.   

    像这样的怎么改呢,这样可以是可以但是不可以改位置,带上onclick的
    <input id="Button1" type="button" value="button" onClick="javascript:var i = window.showModalDialog('1.htm',null,'resizable=yes');" />
      

  3.   

    参考3楼的showmodaldialog函数的参数
      

  4.   

    window.open('abc.aspx','','height=350,width=550,top=180,left=193,location=no,menubar=no,resizable=no,scrollbars=yes,status=yes,titlebar=no,toolbar=no,directories=no');