An open API service indexing awesome lists of open source software.

https://github.com/barzik/expanding_box

jQuery plugin for simple expanding box
https://github.com/barzik/expanding_box

Last synced: 9 months ago
JSON representation

jQuery plugin for simple expanding box

Awesome Lists containing this project

README

          

Expanding box - jQuery plugin for expanding content boxes
=========

Expanding box is simple jQuery plugin that allow header of box to be clickable and extend or collapse the content below it.

How to use
--------------
1. Include the expanding_box.js & expanding_box.css in your HTML file, please do not forget to include the JS file AFTER the jQuery file.
2. Activate the plugin by using:
$('some-selector').expanding_box();
some-selector is a valid jQuery selectors.
3. You can use this option:

* more

$('some-selector').expanding_box({'more' : false});

- if set to false, the content after 'some-selector' will not be collapse at start.

@See more at the demo directory attached to the plugin