This package includes a template for a navigation asset. The template is written in html::template and contains all the Yui dependecies that are needed to make this menu work. It uses the yui library included in Webgui. When a menu item has children it will fold out to show these children in a dropdownbox. It supports "endless" submenu's.
If you want to style the menu I recommend copying the css from the Yui dir and tweak this to your needs. If you want to use the submenu indicators (the little arrows) don't forget to include these in the css file.
The template is programmed to make a menubar from all the children of home. If you want to alter this you have to change the "depthIs3" to the depth you'd like.
My navigation is set up as:
If you include the "self" option, this will be seen as the main container so self is the only item in menubar and everything under it will be in the submenu of self. If you want to use this to include the home link, I suggest you hardcode it in the template itself.
An example can be found at www.sqlreport.org