Summary

Enhanced with JavaScript's ability to change the contents of web pages, frames and image maps add functionality that would otherwise be impossible. The examples shown here just scratch the surface of what you can do with JavaScript, frames, and image maps. Keep practicing and playing with them, and you're bound to come up with amazing designs.

If you've read this whole chapter, you should know how to:

  • Create frames

  • Trigger image swaps in one frame with an event in another one

  • Change the contents of a form in one frame following an event in another one

  • Change the URL shown in a frame using both JavaScript and HTML

  • Change more than one frame at the same time

  • Deal with nested frames

  • Use frames to save information after a visitor leaves a web page ...

Get The Book of JavaScript, 2nd 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.