|
Now, you have at least one contents page and the menu page done and ready to be used.
It's time to create the frames and insert those pages within the frames.
Create a new HTML document and save it in the same directory as your menu and contents HTML pages. with the name "index.html". Then go in the TABLES, FRAMES and LISTS menu tab... then click on the 5th button to create a new frame definition.
You will get a large window with a blue background. This blue backgrouns represents the whole Web page area as seen in your browser. On the left upper part, you'll see various buttons to create frames. We'll use the first button up there to split frame vertically... You'll see the blue area divided in two parts... each part is a frame.

We'll start by the left part... make sure it's blue by clicking on that area... then access its properties (by clicking the 3rd button on the left or by using the contextual menu of your mouse). First choose the contents of that frame using the file navigation menu in the "File name" field. This will be the initial contents of the frame, until changed. Then in "Frame name" field, enter the frame name. In this case, it's "menu" (case is important). It should look like this on the left.
We won't modify the scrolling (automatic = only showing scrolling bar if needed, yes = show it all the time, no = never show it), nor the margins of the frame.
Then go in the Other Properties tab on top of this properties window.... and enter a width of value 200, making the left frame of a width of 200 pixels (the right frame will occupy the rest of the space). Click on OK.
You'll be returned to the frames creation wizard window. Click on the right part to select the right frame and access its properties the same way you did above for the left frame.
This time, select the name of the first contents page (to be displayed in the right frame). Name the frame "contents" and leave all the default options there. Click OK to return to the frames creation wizard. You're now done with the creation of your frames... so you can click OK to exit this wizard.
Save your file again and you're done!
You should see the following code inserted in your HTML document:
<frameset cols="200,*">
<frame name="menu" src="menu.html">
<frame name="contenu" src="contenu1.html">
<noframes>
<BODY>
</BODY>
</noframes>
</frameset>
Your frames definition page is complete now. You can view your framed page by viewing this index.html
You can play around to remove the borders or reduce the margins... to get the look and feel you want... but you are now mastering the basic principles to do a framed page.
Have any comments? Please give us your feedback.
|