Sha256: 9de8f398f29ba4c4c329723d4745f9b932f09e3b59285d83e7340039621252cf

Contents?: true

Size: 864 Bytes

Versions: 5

Compression:

Stored size: 864 Bytes

Contents

---
title: Horizontal
directoryName: MenuStyle
inMenu: true
template: /plugin.template
plugin: MenuStyle/Horizontal
---
h2(#description). 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!


h2(#examples). Examples


<table class="examples">
<tr>
  <th>Used parameters</th><th>Resulting menu</th>
</tr>
<tr>
  <td>Using default values</td>
  <td>{menu: {menuStyle: horizontal}}</td>
</tr>
<tr>
  <td>Using default values and some CSS styles</td>
  <td>{menu: {menuStyle: horizontal, options: {divClass: menu-example-horiz}}}</td>
</tr>
<tr>
  <td>\{menu: {menuStyle: horizontal, options: {startLevel: 2, maxLevels: 2}}}</td>
  <td>{menu: {menuStyle: horizontal, options: {startLevel: 2, maxLevels: 2}}}</td>
</tr>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
webgen-0.4.3 doc/src/documentation/plugins/menustyle/horizontal.page
webgen-0.4.4 doc/src/documentation/plugins/menustyle/horizontal.page
webgen-0.4.5 doc/src/documentation/plugins/menustyle/horizontal.page
webgen-0.4.6 doc/src/documentation/plugins/menustyle/horizontal.page
webgen-0.4.7 doc/src/documentation/plugins/menustyle/horizontal.page