Thursday, June 14, 2012

Simple-expand: simple jQuery plug-in to expand/collapse elements

Simple-expand, as its name implies, the simplest collapse/expand solution I could think of. It works out of the box without any configuration. All you need is:
<a class="expander" href="#">click me</a>
<div class="content">
    content to show/hide.
</div>
And one line of javascript:
$('.expander').simpleexpand();
View Demos