Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Navigating *away* from a frame

Reply
Thread Tools

Navigating *away* from a frame

 
 
Tom Jones
Guest
Posts: n/a
 
      12-18-2004
Hi,

I have a page that uses frames setup like this (other stuff deleted for
clarity):

<HTML>
<HEAD>
</HEAD>

<FRAMESET frameborder=no border=0 rows="75%,25%">
<FRAME src="main.htm" NAME="Top Frame" scrolling=YES>
<FRAME src="Frame.htm" NAME="Bottom Frame" scrolling=YES>

<NOFRAMES>
<BODY>
</BODY>
</NOFRAMES>
</FRAMESET>
</HTML>

On main.htm I have a link that takes me to another website. When I click
that link the top frame contains the new website, but the bottom frame is
still present! How can I make the link get rid of the bottom frame?

Thanks!
TJ


 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      12-18-2004
Tom Jones wrote:

> I have a page that uses frames>


Shame: http://www.allmyfaqs.com/faq.pl?Prob...h_using_frames

> How can I make the link get rid of the bottom frame?


See HTML 4.01 section 6.16 (Frame target names)
http://w3.org/TR/html4/types.html#h-6.16

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 
Reply With Quote
 
 
 
 
Kris
Guest
Posts: n/a
 
      12-18-2004
In article <W4OdncwMC64aNlncRVn->,
"Tom Jones" <> wrote:

> I have a page that uses frames setup like this (other stuff deleted for
> clarity):
>


[snip HTML]

>
> On main.htm I have a link that takes me to another website. When I click
> that link the top frame contains the new website, but the bottom frame is
> still present! How can I make the link get rid of the bottom frame?


<a href="..." target="_top">...

Please, stop using frames.
http://www.google.com/search?q=why+frames+suck

--
Kris
<> (nl)
 
Reply With Quote
 
Starshine Moonbeam
Guest
Posts: n/a
 
      12-19-2004
In article <W4OdncwMC64aNlncRVn->, Tom Jones
() dropped a +5 bundle of words...

> Hi,
>
> I have a page that uses frames setup like this (other stuff deleted for
> clarity):
>
> <HTML>
> <HEAD>
> </HEAD>
>
> <FRAMESET frameborder=no border=0 rows="75%,25%">
> <FRAME src="main.htm" NAME="Top Frame" scrolling=YES>
> <FRAME src="Frame.htm" NAME="Bottom Frame" scrolling=YES>
>
> <NOFRAMES>
> <BODY>
> </BODY>
> </NOFRAMES>
> </FRAMESET>
> </HTML>
>
> On main.htm I have a link that takes me to another website. When I click
> that link the top frame contains the new website, but the bottom frame is
> still present! How can I make the link get rid of the bottom frame?


target=_top

will lose all the frames and just display the new page on top. That way,
it doesn't look like their page is a part of your site.


--
Starshine Moonbeam
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM









 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
navigating to a target frame using javascript rbowie@hotmail.com Javascript 1 03-30-2005 01:44 PM
Explorer freezes when navigating in home network =?Utf-8?B?Q2hyaXMgTW9ycnk=?= Wireless Networking 0 03-09-2005 05:11 AM
Navigating to a bookmark on page? John Carnahan ASP .Net 3 11-13-2003 06:05 PM
Maintaining page state when navigating a wizard Jesper Lauridsen ASP .Net 0 11-10-2003 11:18 AM
Navigating records in web form Hassan Cheraghali ASP .Net 1 07-14-2003 12:29 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57