8.1. Controlling frames I

8.1.1. A classic dynamic menu with swapping frames

One of the advantages of using frames is that individual pages can be organized (or networked together) to form a larger and more complex application. A typical application (see Chapter 1, ex01-17.htm) is to divide the screen into two frames (usually left and right) or more and build a menu (or navigation bar) system. The left frame, for example, stores the menu items. When one of the menu items is pressed, a corresponding page is sent to the right frame. Many organizations use this technique to introduce their departments and a lot of businesses advertise their products in the same way on the Web. This is a static XHTML menu technique and one restriction is that you ...

Get Practical Web Technologies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.