Nesting Frames

L

Lee Tannenbaum

I have a main web page configured as a header frame. I
have built another page which has a frame configured as a
contents frame. I would like the contents page to be
able to be used as a nested page/frame of the header
page/frame

When testing the contents page/frame, the links work fine
and the main frame changes as it should when I click on
the links in the contents portion.

When I test the header page/frame which has a link to the
contents frame, none of the navigation works right on the
contents frame. Let me say that differently, the content
page/frame shows up initially as expected. However when
i click on a link, the whole frame goes away, and I am
left with only the main part of the content page/frame.

I am confused. Is it OK or possible to nest frames?

- lee -
 
S

Stefan B Rusynko

Pages are not framesets
- they are used in the frameset page
What are your frameset pages like?
Typically a 2 frame setup would be:

<frameset rows="64,*">
<frame name="header" scrolling="no" noresize target="content" src="header.htm">
<frame name="content" src="content.htm" target="_self">
<noframes><body></body></noframes>
</frameset>
- links in header.htm would change content.htm to some other page

To nest another frameset (say a leftnav.htm / main.htm)
- content.htm could be a nested frameset page as

<frameset cols="150,*">
<frame name="left" src="leftnav.htm" target="main">
<frame name="main" src="main.htm" target="_self">
<noframes><body></body></noframes>
</frameset>
- links in leftnav.htm would change main.htm to some other page

Or in the initial frameset it could also be:

<frameset rows="64,*">
<frame name="header" scrolling="no" noresize target="main" src="header.htm">
<frameset cols="150,*">
<frame name="left" src="leftnav.htm" target="main">
<frame name="main" src="main.htm" target="_self">
</frameset>
<noframes><body></body></noframes>
</frameset>
- links in leftnav.htm and header.htm would change main.htm to some other page






| I have a main web page configured as a header frame. I
| have built another page which has a frame configured as a
| contents frame. I would like the contents page to be
| able to be used as a nested page/frame of the header
| page/frame
|
| When testing the contents page/frame, the links work fine
| and the main frame changes as it should when I click on
| the links in the contents portion.
|
| When I test the header page/frame which has a link to the
| contents frame, none of the navigation works right on the
| contents frame. Let me say that differently, the content
| page/frame shows up initially as expected. However when
| i click on a link, the whole frame goes away, and I am
| left with only the main part of the content page/frame.
|
| I am confused. Is it OK or possible to nest frames?
|
| - lee -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top