SimpleMenu is a plug-in that automatically generates menus, navigation
bars, and sitemaps for your website. It will generate menus in any of
the following formats:
To insert a menu into a page, use one of the following methods:
Menu links all have the CSS class "menu". Vertical submenu links have the CSS class "submenu". By default, horizontal and vertical menus are wrapped in <span class="menu">...</span> tags. These CSS classes can be used to apply special styles to your menus.
SimpleMenu uses HTML strings to space out menu items. The default HTML spacers are as follows:
Menu Type | Spacer HTML |
---|---|
vertical | <br> |
horizontal | | |
path | > |
In addition, SimpleMenu adds a prefix string in front of submenu items in vertical menus. By default the prefix string is a series of characters, to indent the submenu.
All of the above HTML strings can be customized in the SimpleMenu configuration file, cgi-bin/conf/SimpleMenu.conf.
Vertical menus can be further customized by adding three special content objects to your page or template:
These content items can be used to define HTML snippets to place your menus into a special table, or to insert divider graphics, for instance.