日期:2014-05-16  浏览次数:20457 次

js无提示弹出窗口
经测试ie6,7,8,和ff12都可以使用

 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>榻愰瞾閾惰缁煎悎绉垎绯荤粺</title>
</head>
 
 <script>
 
 function full_win() {
        var height = window.screen.availHeight;
        var width = window.screen.availWidth-2;
        window.open("b.html", "", "height=" + height + ",width=" + width + ",toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=no,top=0,left=0").focus();
        window.opener = "";
       	window.open('', '_self');
        window.close();
}
  </script>
  <script language="javascript">full_win();</script>
  <body>
  <a id ="load" href="javascript:full_win();">loading......</a>
 </body>
 </html>