HTML::Widgets::NavMenu::HeaderRole - A Specialized HTML::Widgets::NavMenu sub-class


NAME

HTML::Widgets::NavMenu::HeaderRole - A Specialized HTML::Widgets::NavMenu sub-class


SYNOPOSIS

Mostly the same as the HTML::Widgets::NavMenu manpage except for the ability to specify 'role' => "header" as one of the node attributes.


DESCRIPTION

This module is constructed and invoked similarly to HTML::Widgets::NavMenu. The only difference is that it is meaningful to specify "header" as the value of the 'role'.

In that case, the link or bolded label will be rendered within its own <h2> header. The HTML will look something like this:

    </ul>
    <h2>
    <a href="../me/" title="About Myself">About Me</a>
    </h2>
    <ul>

An example of this use can be found in the Perl Beginners Site ( http://perl-begin.berlios.de/ ).


SEE ALSO

the HTML::Widgets::NavMenu manpage for the complete documentation of the super-class.


AUTHORS

Shlomi Fish <shlomif@iglu.org.il> (http://search.cpan.org/~shlomif/).