A question I often receive is what’s the best way to implement a multi-level navigation bar for a website. In some cases, some of my readers ask to me a little help and send me “very original” solutions but not so suitable in terms of semantic and unobtrusive approach to coding. For my experience, I always suggest to use simple and standard methods. So in this tutorial I want to illustrate you how to implement a perfect multi-level navigation bar using HTML, CSS and some lines of unobtrusive JavaScript code with jQuery to show and hide sub sections. The result is the following:

You can quickly reuse the code I provided in this tutorial into your web projects, customizing the CSS file and changing the links. You can take a look at the demo here or download the source code here.

Read the rest of this entry »

http://woork.blogspot.com/2009/09/how-to-implement-perfect-multi-level.html

Advertisements