GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  JQUERY::ACCORDION (3)

.ds Aq ’

NAME

JQuery::Accordion - produce an accordion effect

CONTENTS

SYNOPSIS



    my @headers = ("header 1","header 2","header 3","header4") ;
    my @texts = ("line 1","line 2","line 3","line4") ;
    my $accordion = JQuery::Accordion->new(id => myAccordion,
                                       headers => \@headers,
                                       texts => \@texts,
                                       panelHeight => 200,
                                       panelWidth => 400px
                                       addToJQuery => $jquery,
                                      ) ;

    # Change css defaults - add at the bottom
    $jquery->add_css_last(new JQuery::CSS( hash => {#myAccordion => {width => 600px}})) ;

    my $html = $accordion->HTML ;



DESCRIPTION

Add an accordion effect. For an example of how it looks, see <http://interface.eyecon.ro/demos/accordion.html>.

You will also be wondering how to change colours etc. There are a number of CSS items that are defined, and taht can be changed. Each accordion needs an id. So the CSS paragraphs that are created are:

#id

#id dt

#id dd

#id dt.idHover

and

#id dt.idActive

FUNCTIONS

HTML Get the HTML for the object
new Instantiate the object

AUTHOR

Peter Gordon, <peter at pg-consultants.com>

BUGS

Please 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.

SUPPORT

You can find documentation for this module with the perldoc command.



    perldoc JQuery



You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/JQuery>

o CPAN Ratings

<http://cpanratings.perl.org/d/JQuery>

o RT: CPAN’s request tracker

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=JQuery>

o Search CPAN

<http://search.cpan.org/dist/JQuery>

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JQUERY::ACCORDION (3) 2016-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.