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
- Host: GitHub
- URL: https://github.com/barzik/expanding_box
- Owner: barzik
- Created: 2013-06-24T16:05:30.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-10-06T16:07:12.000Z (over 12 years ago)
- Last Synced: 2023-04-08T00:38:47.653Z (about 3 years ago)
- Language: JavaScript
- Size: 168 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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