var o = window.open("b.html");
             o.frames["content"].location = "xx.htm";
             this.top.close(); 
这样写可以达到目的 但是有个确认关闭的提示 还有页面闪动
请问有更好的方法吗????

解决方案 »

  1.   

    试下:var o = window.open("b.html");
    o.frames["content"].location = "xx.htm";
    window.open('','_parent','');
    window.close();
      

  2.   

    a页面是登陆页面
    b中有个三个框架left top content
    当b中的content session失效的时候 
    会跳转到a 页面 并且带上失效是 content 的url重新登陆的时候 希望直接跳转到b 并且设置b的content 的url为原来的url