if(self!=top){ //不是顶层页面 alert("您的登陆已超时,请重新登陆!"); top.location.href="../../index.jsp"; }else{ alert("123"); alert("您的登陆已超时,请重新登陆!"); parent.location.href="../../index.jsp"; }
if(self!=top){ //不是顶层页面 alert("您的登陆已超时,请重新登陆!"); top.location.href="../../index.jsp"; }else{ alert("123"); alert("您的登陆已超时,请重新登陆!"); parent.location.href="../../index.jsp"; }