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
Release: 2016-06-24 11:54:19
Original
1309 people have browsed it

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template