- How many times have you been wondering "why-o-why they couldn't decide where this pages belong to?"
- How many pages have you updated adding just one Item on the Menu?
- Have you ever thought of that it would have been wonderful to have all Menu Items listed in one single file?
You can bear changing many pages each time or create a single file that will hold the Navigation for the whole website. Moving MenuItem from one section to another will take no more then a minute.
Table of Contents
- Sample Menu
- Menu Types in Action
- MenuItem Types in Action
- Many Levels Deep
- Look and Feel
- Menu Gallery
- your menu that will always show
- your menu with the ability to collapse/fold when not active
- your menu with the ability to hide when not active
- your sub-menu
- your regular Menu Item
- Menu Item is External to the site
- Menu Item that is not Visible in the Menu (is hidden)
- Menu Item that is not Visible in the Menu (is hidden) and activates based on GET parameters passed to the page
- Menu Item that never gets the active state
- Menu Item that is not a link (e.g. for Menu separators)
- item Title
- site URL
- relative path to Item
- field name (query string related)
- value (query string related)
- item's class name (CSS related)
- elements of the Section (only in menu & submenu)
Menu ($title, $base_url)
SubMenu ($title, $path)
MenuItem ($title, $path, $css_class=NULL)
GETQueryHiddenItem ($title, $path, $query_id=NULL, $query_value=NULL, $css_class=NULL)
- You can have as many levels of navigation as you wish.
- The navigation is not dependant on the directory structure.
- It’s completely CSS-driven.
- It’s reusable.
- It’s easy-to-read.
- It’s customizable and extendable:
- You can make it draw 2 levels on the left and the rest on the right side of the page.
- You can choose to re-use some other navigation and chose only the items you need.
- You can use more then one navigation file per page.