• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 關閉框架頁,如何在框架頁面中關閉頁面

    發表于:2007-05-25來源:作者:點擊數: 標簽:
    前些天,我在做個網站,里面有幾個框架頁面,可是不能使用 window.opener=false; window.close() 關閉框架頁 ! 第一種方法 : if(window!=window.top){top.location.href=location.href;} window.close(); 或者window.top.close(); 關閉 第二種方法:調用函
    前些天,我在做個網站,里面有幾個框架頁面,可是不能使用
    window.opener=false;
    window.close()     關閉框架頁!  ”

    第一種方法
    if(window!=window.top){top.location.href=location.href;}
    window.close();
    或者window.top.close();   關閉 

    第二種方法:調用函數解決:

    <script language="JavaScript" type="text/JavaScript">
    function turn()
    {
    window.open("http://www.sohu.com");
    }
    </script>
    <frameset rows="*,154" cols="*" framespacing="2" frameborder="2" onUnload="turn()">
    <frame alt="關閉框架頁,如何在框架頁面中關閉頁面" src=http://www.3pcode.com/article/article_115/t.asp scrolling="auto" noresize>
    <frame alt="關閉框架頁,如何在框架頁面中關閉頁面" src=http://www.3pcode.com/article/article_115/b.asp scrolling="auto" noresize>
    <noframes>
    <body>
    </body>
    </noframes>
    </frameset>

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>