1.全屏窗口no way2.关闭前一个窗口??try:
window.opener=null;
window.close();

解决方案 »

  1.   

    window.open(Url,'cscedcLogin',"dependent,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=1,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screeny=0,left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no");
      

  2.   

    兼容ie各个版本的关闭
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 1</title>
    <!--
    by fason(2003-5-20)
    -->
    </head>
    <body>
    <script language="JavaScript">
    <!--
    function CloseWin()
    {
    var ua=navigator.userAgent
    var ie=navigator.appName=="Microsoft Internet Explorer"?true:false
    if(ie){
        var IEversion=parseFloat(ua.substring(ua.indexOf("MSIE ")+5,ua.indexOf(";",ua.indexOf("MSIE "))))
     if(IEversion< 5.5){
        var str  = '<object id=noTipClose classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">'
        str += '<param name="Command" value="Close"></object>';
        document.body.insertAdjacentHTML("beforeEnd", str);
        document.all.noTipClose.Click();
        }
        else{
        window.opener =null;
        window.close();
        }
    }
    else{
    window.close()
    }
    }
    //-->
    </script>
    <input type=button value=关闭 onclick="CloseWin()">
    </body>
    </html>
      

  3.   

    直接在打开新窗口后 调用CloseWin()
      

  4.   

    to longshenwang(清一色!一条小青龙),那代码在打了sp4的2000中是无效的