What HierMenus Does

When you download the HierMenus code from hiermenuscentral.com, loading the single HTML page in your browser reveals Figure 12-1.

Figure 12-1. The HierMenus page

One cool thing this code does is create a single menu system and then tweak it five different ways, as far as color, position, and behavior. We'll look at how the initial menu system is created, then how that system is copied several times and each copy is tweaked separately.

I strongly recommend you visit hiermenuscentral.com to see how HierMenus behaves.

The Files

The HTML page that you actually load into your browser is called “LoadMe.html”, and it contains some ...

Get Advanced JavaScript™: Insights and Innovative Techniques 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.