Username Password
Bookmark and Share

Yui Navigation

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:

  • Relative to root
  • /a/ (+1)
  • Descendants
  • Infinity

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


System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
3pvanthony: "
Thank you very much for this menu. It is really needed for a site we are doing now. We are using this on version 7.4.40 and works great. We are very happy with it.

Once again thank you for sharing this menu.

Hope this will be implemented into WebGUI core.

Any plans for it to be upgraded to version version 2.5.2 of yui?

Downloadyui-navigation-template.wgpkg yui-navigation-template.wgpkg
LinksNo Support Offered
Statistics Downloads: 783
Views: 3874
Rating: 3
Updated: 2/4/2008
Keywords packages
NavigationBack to the Bazaar
© 2022 Plain Black Corporation | All Rights Reserved