The address for this web page is:   http://fishcaro.crosswinds.net/day_38_nested_frames.htm
On to the next lesson!
Back to the COURSE SYLLABUS

38. NESTED FRAMESETS

Although grids can be used to get a simple frame structure consisting of rows and columns, NESTED FRAMESETS are needed for more complicated arrangements. NESTED FRAMESETS are the subject of the current lesson.

INDEX CARD #38:

WHAT IS A NESTED FRAMESET? (38a)

"Nesting" refers to embedding one object in another object of the same type. For example, if you put a TABLE inside another TABLE, then you are NESTING tables. If you put a FRAMESET container tag inside another FRAMESET container tag, then you are NESTING framesets, like this:
<FRAMESET ROWS="*,*">
  <FRAMESET ...> the first row is itself a frameset </FRAMESET>
  <FRAMESET ...> the second row is itself a frameset </FRAMESET>
</FRAMESET>
Nesting is common in programming.

The top-level frameset refers to the outermost frameset. (This terminology is important when we start talking about linking into frames.) In the example above, the first row gives the structure for the top-level frameset; so, the top-level frameset contains two rows, each of equal height.

EXAMPLE: COLUMNS for the TOP-LEVEL FRAMESET (38b)

Click here to see a nested frameset with the following structure:

The top-level frameset has three columns. Why columns first? Because the up/down lines go through the entire structure!
The first column is a frameset with three rows.
The second column is a frameset with two rows.
The third column is a single frame.
VIEW the SOURCE on the link above to see how this structure was produced!


EXAMPLE: ROWS for the TOP-LEVEL FRAMESET (38c)

Click here to see a nested frameset with the following structure:

The top-level frameset has three rows. Why rows first? Because the left/right lines go through the entire structure!
The first row is a frameset with three columns.
The second row is a frameset with two columns.
The third row is a single frame.
VIEW the SOURCE on the link above to see how this structure was produced!

A MORE COMPLICATED EXAMPLE (38d)

Click here to see a nested frameset with the following structure:

This one has framesets within framesets within framesets!
VIEW the SOURCE on the link above to see how this structure was produced!


Printable version of Index Card 38a

Printable version of Index Card 38b

Printable version of Index Card 38c

Printable version of Index Card 38d

WORKSHEET #38:

ASSIGNMENT #38:

On to the next lesson!
Back to the COURSE SYLLABUS
© 2001 Carol J.V. Fisher    All Rights Reserved