|
NAMEJQuery::Treeview - shows a information as a tree.VERSIONVersion 1.00SYNOPSISJQuery::Treeview shows a information as a tree.use JQuery; use JQuery::Treeview; my $list =<<EOD; folder 1(fc) file 1.1 file 1.2 file 1.3 folder 1.2(f) file 2.1 file 2.2 file 2.3 folder 1.3(fc) folder 1.4(f) file 1.4 folder 2(f) file 2.1 folder 3(f) EOD my $tree = JQuery::Treeview->new(list => $list, id => 'mytree', separator => "/", addToJQuery => $jquery, treeControlId => 'myTreeControl', treeControlText => ['Collapse All','Expand All','Toggle All'], defaultState => 'open', highlightNodes => 1, highlightLeaves => 1, highlightUnderline => 1, type => 'directory', rm => 'MyTreeView', debug => 0, remoteProgram => '/cgi-bin/jquery_treeview_results.pl') ; my $htmlControl = $tree->HTMLControl ; my $html = $tree->HTML ; DESCRIPTIONTreeview shows data in a tree format. For an example see <http://jquery.bassistance.de/treeview/>The simplest way to present the data is in the format shown above. Each indentation represents another level. The letters in brackets stand for
(Putting all this information in a Perl array with embedded hashes is possible, but really ugly, and hard to debug visually. I tried, but didn't like the result.) The other parameters are:
FUNCTIONS
AUTHORPeter Gordon, "<peter at pg-consultants.com>"BUGSPlease report any bugs or feature requests to "bug-jquery-taconite at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=JQuery>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.SUPPORTYou can find documentation for this module with the perldoc command.perldoc JQuery You can also look for information at:
ACKNOWLEDGEMENTSCOPYRIGHT & LICENSECopyright 2007 Peter Gordon, all rights reserved.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |