CHAPTER 18
image
Menus and Navigation
As web sites try to offer a better look and feel than their competitors, new ways of navigating through large numbers of pages are being devised all the time. Menus and navigation are probably the areas that make the most use of JavaScript for this purpose.
In the early days of JavaScript, the interaction was mainly limited to instant changes of location and color as the mouse passed over a menu. But nowadays, savvy web users expect much more fluid and appealing designs with fades, transitions, and more.
The recipes in this chapter give you a variety of solutions that you can use as is, or that you can employ as ...

Get Web Developer's Cookbook 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.