The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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) 2005 Andrew Maltsev

Copyright (c) 2001-2004 Andrew Maltsev, XAO Inc.

<am@ejelta.com> -- http://ejelta.com/xao/

SEE ALSO

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