我想在用户在打开网站时
定制IE的大小
有什么办法吗?

解决方案 »

  1.   

    windows.open新窗口,可以调整成除全屏以外的任何大小。
    win2000及以前可以调整为全屏,winxp sp2及以后无法调整为全屏
      

  2.   

    按照指定大小打开窗口;
    <script language="javascript">
     function openWindow()
     {
        var strURL;    strURL = "XXX.htm";    if (document.all.length > 0)
        {
            window.opener = true;
        }   window.opener = window.open(strURL,"main","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizeable=no,width=screen.availWidth,height=screen.availHeight,top=0,left=0");    window.opener = null;
        window.close();
    }openWindow();</script>调整窗口的位置:
    在strURL这个页面里,
    <script language="javascript">
    setTimeout('top.moveTo(0,0),top.resizeTo(screen.availWidth,screen.availHeight)');
    </script>
      

  3.   

    window.open
    定义的时候把窗口定义到最大,不要标题栏、工具栏、地址栏、状态栏属性设为no
    就可以吧