简体   繁体   中英

HTML Frameset Query

I have the following code for framset display

<FRAMESET ROWS="18%,*" >
   <FRAME SRC="./views/Title_Page.html" NAME=TITLE SCROLLING=NO MARGINHEIGHT=1 noresize="noresize">

   <FRAMESET COLS="20%,*">
      <FRAME SRC="./views/Navigation_Page.jsp" NAME=SIDEBAR noresize="noresize" scrolling="no">
      <FRAME SRC="./views/Welcome.html" NAME=MAIN noresize="noresize">
   </FRAMESET>
<NOFRAMES>NOFRAMES stuff
</NOFRAMES> 

</FRAMESET>

I want to add a logout link which logges out of the app ,when i add a link in Title_Page.html it logges out only that frame but not the others,how will handle it?i want to log out completly from all the frames

I must preface by saying that frames are pretty much frowned upon on the web these days. They're deprecated, they're not a good user experience, it's very difficult to link or bookmark a page, etc etc...

Add target="_top" to your logout link. It will target the "top" page (the one which defines all the frames). Also note that target is deprecated.

target="_top"

…与您要点击顶部窗口而不是当前帧的其他东西一样。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM