The above HTML creates a standard two-frame layout. The narrow frame on the left will contain navigation aids, while the large frame will contain the content pages. The large majority of framesets are created in this way.

The navigation frame is often placed on top, rather than on the left. Other times, there are more than two frames in the frameset. And on rarer occasions, complex nested frameset layouts are specified.

The menu script will work in all frameset variations, provided that you clearly identify two of the frames:

the navigation frame.This frame should contain the HTML document that controls the frameset navigation.It will have the links that cause new content pages to appear in a larger, main, frame.The content of the navigation frame does not change.This frame will contain the menu script.

the main frame.This frame hosts the content pages, navigated to using links in the navigation frame.The menus will appear in this frame.

The menu script will need to identify these frames, so they must be named accordingly. If you have not mastered the intricacies of the script, then you should name the the navigation frame, nav, and the main frame, main. Otherwise, you will have to make some manual changes in the script itself. Unless you have an important reason for avoiding these monikers, please stick to them.

You do not need to make changes to any of the pages that appear in the main frame. The complete menu-creation and re-creation is controlled by the navigation frame.