A simple way to expand / collapse blocks
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.html
jquery.folding-0.0.1.js

README.md

jQuery Folding

Author: Benjamin Delespierre benjamin.delespierre@gmail.com

Description

An easy way to expand and collapse block on click. demo

Usage

$('selector').folding(options);

// Manual fold
$('selector').trigger('fold');

// Manual unfold
$('selector').trigger('unfold');

Options

  • [string] titleClass: The CSS class used to identify block title
  • [string] foldedClass: The CSS class used to identify folded blocks
  • [string] easing: The folding animation
  • [integer] duration: The folding animation duration
  • [callback] callback: The callback to call once fold/unfold is done