Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 08-02-2008, 02:20 PM   #1 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 22
Default redirect out of frames

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 is offline   Reply With Quote
Old 08-03-2008, 02:06 AM   #2 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 22
Default

I figured that out now... I should have set target for the hyperlink to _parent... did a sample experiment and it worked.
thotheolh is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 12:11 AM.


Computer Forum - TechZine - Webpage Design

 
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.