Magento News

 

Multi Level Menu Code?

by JOEL0903 (Posted Thu, 28 Apr 2011 08:47:09 GMT)
The normal way to do this is to nest another UL inside your list. The CSS vertical Navigation plugin does this, albeit vertically, but that’s just the styling. You can look at that code for ideas that are in Magento’s framework. If all you are concerned about is the correct formatting and styling, I suggest AListApart.com. They have several menu tutorials.

Jake Howlett has an article on Super Menus that covers this as well at http://www.codestore.net/store.nsf/unid/BLOG-20101014-0257?OpenDocument#DOC_DB4C83CE. He has several other articles on Horizontal menus using CSS in addition. Both these sites have many examples with a lot of code.

The basic format you’re going to want is