i have a page which has 4 frames the code is as below
<frameset id = framset_page rows="30,*" cols="*" border="0">
<frame name="topFrame" id="topFrame" noresize scrolling="NO" src="topFrame.jsp">
<frameset cols="200,50,*">
<frame src="FramesetLeftFrame.jsp" />
<frame src="middle.html" />
<frame src="FramesetRightFrame.jsp" />
</frameset>
</frameset>
the topFrame include a logout button.but what when i click the logout button,it just exit the topFrame others remain the same.how can i exit other frames either?writing code in the topFrame seems not work.thank you!
You can add
target="_top"to your link or you can use javascript to navigate using your top frame:Examples:
Other alternative is, into your logged out page, add a javascript code to remove the frames redirecting your document to the top frame: