Forum Moderators: open

Message Too Old, No Replies

links - iframe inside a frameset

iframe frame link frameset

         

ken4runner

8:55 pm on Dec 3, 2004 (gmt 0)

10+ Year Member



I have a simple frameset for a webpage

**********************************
*-----------------------------------------*
*---------- top_nav ----------------------*
*-----------------------------------------*
**********************************
*-----------*-----------------------------*
*- left_nav -*--------- content -----------*
*-----------*-----------------------------*
*-----------*-----------------------------*
*-----------*-----------------------------*
*-----------*------**************-----*
*-----------*------*--- c_iframe ---*-----*
*-----------*------*---------------*-----*
*-----------*------*---------------*-----*
*-----------*------*---------------*-----*
*-----------*------**************-----*
*-----------*-----------------------------*
**********************************

there are three frames. top_nav, left_nav and then content.

In the frame called content, there is an iframe, called c_iframe...

Here is my dilemma.

I need to have a link in the iframe that causes the content frame to be replaced with a new page.

I don't want the top and left frames to be bothered or changed or reloaded... the link should just change the page that is in the content frame.

I have been working on this a little today, with no success - but I thought for sure some of the experts can do this in their sleep...

zzzzzzzzzz

thanks in advance,
ken

tedster

11:05 pm on Dec 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried using the attribute target="_parent" in the anchor tag? (Don't forget the underscore character)

ken4runner

1:58 pm on Dec 6, 2004 (gmt 0)

10+ Year Member



I had not tried that - and it worked.

thanks -