jQuery plugin for collapsible fieldsets
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
jquery.collapsibleFieldset.js

README.md

#jquery-collapsibleFieldset

##Overview A jQuery plugin for collapsible fieldsets. When the legend of the fieldset is clicked, the fieldset is collapsed or expanded.


##Usage

<fieldset id="myfieldset">
    <legend>My Fieldset</legend>
...
</fieldset>
$('#myfieldset').collapsible();

##Styling

The following span is appended to the fieldset's legend to allow for "graphic" indicators:

<span class="collapsible-indicator"></span>

The CSS class collapsed is applied to the fieldset element when it is collapsed.

##Options

###collapse Callback function invoked after fieldset is collapsed.

###expand Callback function invoked after fieldset is expanded.

##Copyright and License Copyright (c) 2012 Rex McConnell.

The jQuery Collapsible Fieldset plugin is licensed under the MIT license.