webgen logo

webgen / static website generator

static website generation made easy!

Sub Menu

Tips

  • The basics pagecontains everything one needs to get going with webgen!
  • Descriptions for plugins can be found in the plugins section

Latest news

2007-12-31: Minor release with feature enhancements. More...

2007-09-08: Small bug fix release. More...

2007-06-29: Some bug fixes and one small feature enhancement. More...

Links

Generated by webgen

General Information

Plugin name:MenuStyle/Horizontal (MenuStyle/Default)
Author:Thomas Leitner <t_leitner@gmx.at>
Summary:Builds a horizontal menu
Parameters:

maxLevels3
Specifies the maximum number of levels that should be shown. For example, if maxLevels = 1, then only one level is shown.

startLevel1
The level at which the menu starts. For example, if set to 2 the top most menu items are not shown.

Handler name:horizontal

Description

Builds a horizontal menu; each menu level gets its own menu bar.

Caveat: You should link to the webgen-css resource in your template as this plugin defines some CSS styles!

Examples

Used parametersResulting menu
Using default values
Using default values and some CSS styles
{menu: {menuStyle: horizontal, options: {startLevel: 2, maxLevels: 2}}}