HTML::Widgets::NavMenu::JQueryTreeView - A Specialized HTML::Widgets::NavMenu


HTML-Widgets-NavMenu documentation Contained in the HTML-Widgets-NavMenu distribution.

Index


Code Index:

NAME

Top

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

SYNOPOSIS

Top

Mostly the same as HTML::Widgets::NavMenu execpt that it renders a fully expanded tree suitable for input to JQuery's treeview plugin

DESCRIPTION

Top

This module renders all nodes but places class="open" and class="close" attributes in the opening <li> tags.

An example of this use can be found in Shlomi Fish's Homepage ( http://www.shlomifish.org/ ).

SEE ALSO

Top

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

AUTHORS

Top

Shlomi Fish ( http://www.shlomifish.org/ ).

COPYRIGHT AND LICENSE

Top


HTML-Widgets-NavMenu documentation Contained in the HTML-Widgets-NavMenu distribution.

package HTML::Widgets::NavMenu::JQueryTreeView;

use strict;
use warnings;

use base 'HTML::Widgets::NavMenu';

require HTML::Widgets::NavMenu::Iterator::JQTreeView;

sub _get_nav_menu_traverser
{
    my $self = shift;

    return 
        HTML::Widgets::NavMenu::Iterator::JQTreeView->new(
            $self->_get_nav_menu_traverser_args()
        );
}

1;

__END__