JavaScript : Links Modifying Several Frames
Contents ]
Dr Benton

Defining Targeted Pages

The upper horizontal frame of our page will contain two links (Subject 0 and Subject 1), each having two destinations, one for each of the two lower frames.

  • The link Subject 0 will display the page menu_0.htm in the frame frame_2 and the page contenu_0.htm in the frame frame_3.

  • The link Subject 1 will load the page menu_1.htm in the frame frame_2 and the page contenu_1.htm in the frame frame_3.

Create the four pages mentioned above. You can use the following template example and save it under the appropriate name each time:

<HTML>
<HEAD>
<TITLE>
</TITLE>
</HEAD>

<BODY>
Menu x / Content x
</BODY>

</HTML>

Also create the pages that will show up initially in the frames (frame1_.htm, frame_2.htm and frame_3.htm).