|
$("#ID").splitter({ type: "v", minA: 100, initA: 150, maxA: 300, accessKey: "|" }) NAMEJQuery::Splitter - Split into panesVERSIONVersion 1.00SYNOPSISJQuery::Splitter is used to split an area into two panes. This can be extended to three or more by nestinguse JQuery; use JQuery::Splitter ; my $splitter1 = JQuery::Splitter->new(id => 'MySplitter', addToJQuery => $jquery, browserFill => 1, type => 'v', HTML1 => $leftHTML, HTML2 => $rightHTML) ; DESCRIPTIONThis module is a bit more complicated than others, since CSS needs to be set to get good results. For complete information see <http://methvin.com/jquery/splitter/>my $mainPanelCSS = new JQuery::CSS(hash => {'#MySplitter' => {'min-width' => '500px', 'min-height' => '300px', border => '4px solid #669'}}) ; my $panel1CSS = new JQuery::CSS(hash => { '#LeftPanel' => {background => 'blue', padding => '8px'}}) ; my $panel2CSS = new JQuery::CSS(hash => { '#RightPanel' => {background => 'yellow', padding => '4px'}}) ; my $splitter1 = JQuery::Splitter->new(id => 'MySplitter', addToJQuery => $jquery, browserFill => 1, type => 'v', accessKey => "I", panel1 => 'LeftPanel', panel2 => 'RightPanel', mainPanelCSS => $mainPanelCSS, panel1CSS => $panel1CSS, panel2CSS => $panel2CSS, panel1Params => {minA => 100, initA => 100, maxA => 1000}, splitBackGround => 'pink', splitActive => 'red', splitHeight => '6px', splitRepeat => 1, HTML1 => $leftHTML, HTML2 => $rightHTML) ; Have a look at the splitter examples.
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. |