plainblack.com
Username Password
search
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 www.sqlreport.org

Cheers!

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.
Comments
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?

P.V.Anthony
"
Downloadyui-navigation-template.wgpkg yui-navigation-template.wgpkg
LinksNo Support Offered
Statistics Downloads: 265
Views: 2124
Rating: 3
Updated: 2/4/2008
Keywords packages
NavigationBack to the Bazaar
© 2014 Plain Black Corporation | All Rights Reserved