2007-02-28: webgen 0.4.2 released! Bugs fixed and some feature added! More...
2007-01-12: webgen 0.4.1 released! Bug fix for running webgen on Windows and other small updates! More...
2007-01-05: webgen 0.4.0 released! Major update to the core and plugins and many new features added! More...
Plugin name: | MenuStyle/Vertical (MenuStyle/Default) |
---|---|
Author: | Thomas Leitner <t_leitner@gmx.at> |
Summary: | Builds a vertical menu and is very flexible |
Parameters: | maxLevels: 3 minLevels: 1 showCurrentSubtreeOnly: true startLevel: 1 |
Handler name: | vertical |
This menu style builds a seemingly simple vertical menu. However, it is very flexible due to its many parameters that let you decide every detail of the menu. Have a look at the examples to see what is possible!
The menu is constructed using HTML lists with ul
and li
tags. However, the menu looks better if
no discs are shown for the menu items (using the CSS directive list-style-type: none
).
Following are some examples of this menu style with varying parameter values (without CSS styling).
Used parameters | Resulting menu |
---|---|
Using default values | |
{menu: {menuStyle: vertical, options: {maxLevels: 1}}} | |
{menu: {menuStyle: vertical, options: {showCurrentSubtreeOnly: false, maxLevels: 3}}} | |
{menu: {menuStyle: vertical, options: {startLevel: 2, maxLevels: 3}}} |