<body onload="window.open('ManagerSet.aspx','','location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,titlebar=no,toolbar=no,directories=no')">
想实现打开一个页面,不显示状态栏,菜单栏,工具栏
但是这样写的话,会一直重复弹页面!
'ManagerSet.aspx'这个名字就是我当前页的名字
有什么好的解决办法!

解决方案 »

  1.   

    由另一个页面来打开使用Cookies
      

  2.   

    或者像这样加进参数,没有参数时就不要输出那段javascriptManagerSet.aspx?action=showdialogwindow.open('ManagerSet.aspx'
      

  3.   


    <html>
    <script language="JavaScript">
    function OpenNewAndColseParent( url,newwindowname, top,left,status,width,height)
    {
        
    //window.open(url,newwindowname,"top="+top+",left="+left+",toolbar=no,location=no, directories=no,status="+status+",menubar=no,scrollbars=no,resizable=yes, width="+(screen.width-width)+",height="+(screen.availheight-height));
    window.open(url,newwindowname,"top="+top+",left="+left+",toolbar=no,location=no, directories=no,status="+status+",menubar=no,scrollbars=no,resizable=yes, width="+(screen.availWidth - width)+",height="+(screen.availHeight - height));
    window.opener = null;
    window.close();
    } </script>
    <body onload="javascript:OpenNewAndColseParent('login.aspx','LogoWindow',0,0,'yes',10,60)">
    <FONT face="宋体"></FONT>
    </body>
    </html>
      

  4.   

    我要的是这样的效果,就是打开当前页实现当前页全屏,不要点别的页面跳转到这个页面全屏:
    我自己写了一个,但是呢会不停的弹出全屏页面:如下
               function name()
               {
                        var b=window.open("","","fullscreen=no")
                        b.location=window.location.href
                        b.moveTo(-4,-4)
                        b.resizeTo(screen.availWidth+8,screen.availHeight+8)
                        window.opener=null;
                        window.close()
               }
    然后呢在<body onload="name()"></body>