window.open("http://www.csdn.net","","toolbar=no;status=no;titlebar=no;menubar=no")

解决方案 »

  1.   

    只能是现打开一个临时页面 在里面写
    pop=window.open("index.html","弹出窗口","toolbar=no,menubar=no,scrollbars=no,directories=no,resizable=no,location=no,status=no,top=0,left=0,width=1024,height=768");//然后关闭临时页  就达到了那个效果了!self.opener=null;
    self.close();
      

  2.   

    注: index.html 就是你要显示的主页面!
      

  3.   

    default.html
    --------------
    <html>
    <head>
    <script language="javaScript">
    function Default(){
    var url='http://igestudio.com/show/flash/a599/index.htm';
    window.open(url,'','你想要的窗口设置');
    opener.close();
    return;
    }
    </script>
    </head>
    .......
    <body onload=Default()>
    ........
    </html>
    这样可以实现你的效果
      

  4.   

    ft,写错了...哎。
    default.html里的脚本没有opener.close();这一行!!
    在index.html里
    -----------
    <html>
    <head>
    <script language="javaScript">
    opener.close();
    </script>
    </head>
    -------------
    sigh.....sorry阿,上面的我有些错ing
      

  5.   

    Try<script> 
    var file =self.location; 
    var a = window.open("about:blank","","fullscreen=yes") 
    self.opener=null 
    self.close() 
    a.moveTo(0,0) 
    a.resizeTo(screen.Width,screen.Height) 
    a.focus(); 
    a.location=file; 
    </script> 
    <body scroll=no >
    <p align=center><input type="button" value="全屏显示" onclick=tofull()></p>
    //在要打开的网页的body加入scroll=no
    <body scroll=no>