O'Reilly logo

Web Developer’s Cookbook: More Than 300 Ready-Made PHP, JavaScript, and CSS Recipes by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required