Home >Web Front-end >HTML Tutorial >How does frameset realize the jump of the entire page_html/css_WEB-ITnose

How does frameset realize the jump of the entire page_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:54:191320browse

登录页面login.jsp,系统登录成功后展示mainLayout.jsp,我现在用frameset框架把页面mainLayout.jsp分为三部分,head.jsp.、left.jsp、right.jsp,每个部分都有退出按钮。左边用做目录,有很多功能菜单。
<a href="#" onclick="loginOut()" target="_top">退出系统</a> 
<script>  function loginOut(){	  top.location.href="/loginOut.do";	  top.location.reload();  }  </script>
现在登录成功后,进入功能菜单,点击退出只能返回到mainLayout.jsp,再点击一次退出才能成功。不能完美退出。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn