NAME

XAO::DO::Web::MenuBuilder - building all sorts of menus

SYNOPSIS

<%MenuBuilder
  base="/bits/top-menu"
  item.0="statistic"
  item.1="config"
  item.1.grayed
  item.2="password"
  item.2.grayed
  active="statistic"
%>

<%MenuBuilder
  base="/bits/top-menu"
  item.0="statistic"
  item.1="config"
  item.2="password"
  grayed="config,password"
  active="statistic"
%>

DESCRIPTION

Assumes the following file structure at the `base':

header           - static menu header (optional)
footer           - static menu footer (optional)
separator        - static menu items separator
item-NAME-normal - normal item text
item-NAME-grayed - grayed item text
item-NAME-active - currently opened page

If "grayed" argument is "*" then all menu items are displayed in "grayed" mode.

EXPORTS

Nothing.

AUTHOR

Copyright (c) 2000-2003 XAO, Inc.

Andrew Maltsev <am@xao.com>.

SEE ALSO

Recommended reading: XAO::Web, XAO::DO::Web::Page.