![]() |
Building a better web site ... Questy's, Nested Frames and noframes |
|
Combined framesets are those in which the parent frame as well as the child frame contains frames. For example, a Web site's home page might divide the page into a left frame for navigation and right frame for displaying text. This home page is the parent frame. When a user clicks a hyperlink on the left, the text appears in a child frame on the right but as a top and bottom frame. Perhaps a graphic is in a top frame, and the lower frame displays the text. Hence, frames were used on the parent page as well as on a child page creating combined framesets. To quickly determine how many frames will be created by a nested frameset, count the total the number of <FRAME> tags defined in the nested frameset, which totals three frames in this scenario. In this scenario, two sets of <FRAMESET> tags create three frames - a frame on the left spanning the height of the window and two frames stacked upon each other on the right. Following is an explanation of what each piece of code is doing: <FRAMESET
COLS="30%,70%"> <FRAME
SRC="Main.htm"> <FRAMESET
ROWS="50%,50%> <FRAME
SRC="Help.htm"> </FRAMESET></FRAMESET> Another
example of nested framesets is: The total number of <FRAME> tags defined in this scenario is four frames. The first <FRAMESET> tag creates three vertical frames that are 33% wide spanning the height of the window. But only two of the three frames are occupied with a file. So the second <FRAMESET> tag is splitting the third unoccupied frame into two frames stacked upon each other.
The <NOFRAMES> tag is used to display text for users whose browsers cannot render frames. This container tag is typically placed below the closing </FRAMESET> tag. Below it would appear the <BODY> tag, which contains the text to be seen by users who cannot view frames. An example of HTML code including the <NOFRAMES> tag would be as follows: <HTML> |
|
|
|
![]() |
Welcome
to the World of Questy |