|
Clicking on a panel will either make it expand or collapse, depending on its current state.
The plugin supports pre-load panel states, for already opened or closed panels.
Tested in: Safari, Chrome, IE6+, Firefox3+, Opera10+.
Here are some key features of "jQuery-Collapse":
Plugin configuration options:
· open (bool) : Defines wether lists are initially open or closed (default: false)
· inactive (string) CSS class for inactive header (default: "inactive")
· active (string) : CSS class for active header (default: "active")
· head (string) : Elements for clickable headings (default: "h3")
· group (string): Elements for collapsable group (default: "ul")
· speed (number) : Animation speed (default: 100)
· cookie (string) : Name of cookie used in the plugin.
· disableCookie (string) : Disable cookies (if you have jquery.cookie plugin present but don't want cookies anyway)
Requirements:
· JavaScript enabled on client side
· jQuery 1.4.2 or higher
Via: jQuery-Collapse 1.0.0
0 Comment:
Post a Comment