redirect out of frames

thotheolh

New Member
I have a page 'index.html' that have a framset with codes...

Code:
<html>
<head>
<title>Index</title>
<frameset rows="20%,*" border="0">
   <frame src="topBanner.html" scrolling="no" noresize="noresize"/>
   <frame src="welcome.html" scrolling="auto" noresize="noresize"/>
<frameset>
</head>
<body></body>
</html>

in the topBanner.html...

Code:
<html>
<head>
<title>top</title>
</head>
<body>
<H1><center>Welcome ... click <a href="others.html"> here </a> to view other pages</center></H1>
</body>
</html>

The problem is when I click the others in the top part of the frames, it renders page in the upper frame instead a normal page without the frames and so I use javascript to do 'window.location="others.html" ' which might redirect it out of the frames. So what I really want is click on the 'here' link and the current page changes to the others.html without all those frames there. How do I do that ? (I do not want to open a new tab or new window to do this.)
 

thotheolh

New Member
I figured that out now... I should have set target for the hyperlink to _parent... did a sample experiment and it worked.
 
Top