<script>
showModalDialog("Login.html","AA","dialogWidth:300px;dialogHeight:150px");
</script>

解决方案 »

  1.   

    dialogWidth: 对话框宽度。
       dialogLeft: 距离桌面左的距离。
       dialogTop: 离桌面上的距离。
      

  2.   

    http://www.csdn.net/Develop/read_article.asp?id=15113
      

  3.   

    模态框不可以修改其大小, 非模态框可以在主页面里脚本修改其大小:<SCRIPT LANGUAGE="JavaScript">
    <!--
    var w = showModelessDialog("Login.html","AA","dialogWidth=300px,dialogHeight=150px");w.dialogTop  = 0;
    w.dialogLeft = 0;w.dialogWidth  = "300px";
    w.dialogHeight = "300px";
    //-->
    </SCRIPT>
      

  4.   

    参数 center:yes;
    <script>
    showModalDialog("Login.html","AA","dialogWidth:300px;dialogHeight:150px;center:yes;");
    </script>