XAO::DO::Web::MenuBuilder - building all sorts of menus
<%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" %>
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.
Nothing.
Copyright (c) 2005 Andrew Maltsev
Copyright (c) 2001-2004 Andrew Maltsev, XAO Inc.
<am@ejelta.com> -- http://ejelta.com/xao/
Recommended reading: XAO::Web, XAO::DO::Web::Page.
To install XAO::Web, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAO::Web
CPAN shell
perl -MCPAN -e shell install XAO::Web
For more information on module installation, please visit the detailed CPAN module installation guide.