Project II: Using Multiple Pull-Down Menus for Navigation

With the success of our pull-down navigation script, the boss has thought of another area of the company's Web site that could benefit from pull-down menu navigation. This time it is in the company store section of the site. At the moment, navigating among the various product groups and products is cumbersome and not very intuitive for the user. A new wave of products is about to be launched, and this would be a perfect opportunity to give the section a face lift (see Figure 3-3). It would be great if we could use pull-down menus and JavaScript to increase efficiency and usability.

Figure 3-3. The store section of the Shelley Web site.

The boss's idea is to have two pull-down menus, one ...

Get Essential JavaScript™ for Web Professionals, Second 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.