jQuery TogglePane plugin


The TogglePane plugin is similar to Jörn Zaefferer's Accordion plugin, but does not impose "Highlander Behaviour." That is, any number of panels may be opened or closed at one time. It is based off of code demonstrated in an article by Karl Swedberg.

If you would like to see a standalone demo of the plugin, click here.

License: Public Domain

Filename Size (bytes)
sgbeal-togglepane-20070911.jquery.yuimin.js 683
sgbeal-togglepane-20070911.jquery.pack.js 950
sgbeal-togglepane-20070911.jquery.min.js 845
sgbeal-togglepane-20070911.jquery.js 5529
sgbeal-togglepane-20070807.jquery.yuimin.js 597
sgbeal-togglepane-20070807.jquery.pack.js 888
sgbeal-togglepane-20070807.jquery.min.js 719
sgbeal-togglepane-20070807.jquery.js 5229

What the various *.js files are:
  • *.jquery.js or jquery.PLUGIN_NAME.js = the full-fledged, human-readable/editable source code files, including documentation for using the code.
  • *.pack.js = "packed" source code files, meaning they are optimized for maximum space savings (which also means obfuscated). They are created using one of the packers derived from http://dean.edwards.name/packer/.
  • *.min.js = source code files "minimized" for space savings using jsmin. They are not obfuscated, but are nonetheless not intended for human consumption.
  • *.yuimin.js = similar to the .min.js files, but these are compressed using the YUI minifier, which claims to be less error-prone than the conventional PACK method and smaller than normal MINinification. They are obfuscated, not intended for human consumption.
When deploying applications which use this code, the compressed versions are recommended, as they help reduce the download time of the application. Also, combining multiple scripts into a single file can notably reduce the download overhead.

If you use this plugin and like it, please go rate it on the jQuery site.