<script>
pop=window.open("pop.html","弹出窗口","toolbar=no,menubar=no,scrollbars=no,directories=no,resizable=no,location=no,status=no,top=0,left=0,width=320,height=220");window.close();
</script>
第一  哈哈哈...

解决方案 »

  1.   

    <script>
    pop=window.open("pop.html","弹出窗口","fullscreen=yes");window.close();
    </script>全屏的.
      

  2.   

    <script>
    pop=window.open("pop.html","弹出窗口","toolbar=no,menubar=no,scrollbars=no,directories=no,resizable=no,location=yes,status=yes,top=0,left=0,width=320,height=220");//看看英文意思,可以自行调整self.opener=null;//控制不点确认按钮
    window.close();
    </script>
      

  3.   

    <script>
    window.opener=null;
    pop=window.open("pop.html","弹出窗口","fullscreen=yes");
    window.close();
    </script>
      

  4.   

    奇怪,我的怎么还是有关闭的提示啊?<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title><%=title%></title>
    <script language="javascript">
     
    function openit(id)

    pop=window.open("df.htm","弹出窗口","toolbar=no,menubar=no,scrollbars=no,directories=no,resizable=no,location=yes,status=yes,top=0,left=0,width=320,height=220");//看看英文意思,可以自行调整self.opener=null;//控制不点确认按钮
    window.close();}
    </script>
    </head>
    <body bgcolor="#0855B5"><p align="center"><a href="javascript:openit()"><img border="0" src="images/XP.jpg" align="center"></a> </p>
    </body></html>
      

  5.   

    利用控件来自动关闭本窗口才能不出现确认对话框 JAVASCRIPT达不到这个效果:<html>
    <head>
    <title>Welcome to </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <table width="100%" height="100%" border="0">
      <tr>
        <td align="center">
          <object id=close_self type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
            <param name="Command" value="close">
          </object>
          <font face="Arial">Loading....</font>
        </td>
      </tr>
    </table>
    <script>
    <!--
    window.open("<%= redir_url %>","YTERP","height=600,width=800,top=" + (screen.height-600)/2 + ",left=" + (screen.width-800)/2 + ",toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
    window.focus();
    close_self.Click();
    //-->
    </script>
    </body>
    </html>