HTML::TabWidget - simple Html TabWidget
use HTML::TabWidget; my $tabwidget = new HTML::TabWidget(\%patmeter); my %parameter = ( style => 'lze', path => "/srv/www/cgi-bin/templates", anchors => [ { text => 'HTML::TabWidget ', href => "$ENV{SCRIPT_NAME}", class => 'currentLink', src => 'link.png' }, { text => 'Next', class => 'link', }, { text => 'Dynamic Tab', title => 'per default it is the text' href => 'javascript:displayhidden()', class => 'javaScriptLink', } ], ); print $tabwidget->tabwidgetHeader(); $tabwidget->Menu(); print "your content"; print $tabwidget->tabwidgetFooter();
You also need some js and css file.
Example:
print start_html(
-title => 'TabWidget', -script => [ { -type => 'text/javascript', -src => '/javascript/tabwidget.js' }, ], -style => '/style/lze/tabwidget.css', );
Here is a list of the function sets you can import:
:all initTabWidget tabwidgetHeader Menu tabwidgetFooter
my $tb = new HTML::TabWidget(%parameter);
initTabWidget(\%patmeter);
Menu(\%patmeter);
tabwidgetHeader
tabwidgetFooter
my %reply = ( title => 'title', src => 'reply', href => "/reply.html", text => 'Your Text' ); action(\%reply);
MySQL::Admin Template::Quick
http://www.lindnerei.de, http://lindnerei.sourceforege.net,
http://lindnerei.sourceforge.net/cgi-bin/tabwidget.pl
Dirk Lindner <lze@cpan.org>
Copyright (C) 2005- 2008 by Hr. Dirk Lindner
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
To install MySQL::Admin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MySQL::Admin
CPAN shell
perl -MCPAN -e shell install MySQL::Admin
For more information on module installation, please visit the detailed CPAN module installation guide.