A tiny jQuery plugin, with minimal markup, for generating hardware accelerated webkit-transition touch based accordions.
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.
demo
accordion.css
jquery.accordion.js
jquery.accordion.min.js
readme

readme

A tiny jQuery plugin, with minimal [semantic] markup, for generating hardware accelerated CSS transition accordions, making them perfectly suited for mobile webkit web/PhoneGap apps.

Usage

$('dl').accordion();

<dl>
	<dt id="c1"><a href="#c1">Your link title</a></dt>
	<dd>
		<p>Your content.</p>
	</dd>
	<dt id="c2"><a href="#c2">Your link title</dt>
	<dd>
		<p>Your content.</p>
	</dd>
</dl>