Chapter 22Frames

What Are Frames?

Frames provide the ability to divide the browser’s window into several sections, each containing a distinct HTML document. Although some developers and web development books recommend avoiding the use of frames, they are a perfectly valid and quite easy to use method for organizing a web site and allowing easy navigation. There are many different ways to use frames. You can display, for instance, the table of contents on one side of the window, and the content itself on the other side. You can then direct all links in the table of contents to load documents in the other frame, thus ensuring that the table of contents is present at all times. While surfing the web, you can occasionally recognize a frame-separated ...

Get Advanced Javascript, 3rd Edition 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.