🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Paccordion is a super simple jQuery plugin which uses jQuery slideUp() and slideDown() methods to create animated accordion or toggle controls with plain html structure.

content-toggle

Documentation

Paccordion

A dead simple accordion plugin

Requirements

paccordion requires the latest version of jQuery

Usages

Include scripts and style inside <head> tag of your document

<link rel="stylesheet" href="path-to-style/style.css">  <script src="path-to-script/jquery-1.11.3.min.js"></script> <script src="path-to-script/paccordion.js"></script> 

Markup

<div class="accordion-wrapper"> 	<div class="ac-pane active"> 		<a href="#" class="ac-title"> 			<!-- accordion title here --> 		</a> 		<div class="ac-content"> 			<!-- accordion content here  --> 		</div> 	</div> </div> 

For accordion

Just add a data attribute to title for accordion

<a href="#" class="ac-title" data-accordion="true"> 

You May Also Like