推出以后直接转向index不就好了?

解决方案 »

  1.   

    window.location.href='index.php'如果在框架页面中:
      top.location.href='index.php'
      

  2.   

    我的代码想写在 left.php中
      

  3.   

    <body onunload="top.location.href='index.php'">
      

  4.   

    如果代码 写在 left.php中window.location.href='index.php'只是将left.php  替换成了 index.php偶想将整个浏览器,替换为 index.php 页面
      

  5.   

    问题解决:parent.location.href='i.htm';