Quantcast
Channel: Codrops » accordion
Viewing all articles
Browse latest Browse all 8

Collective: zAccordion jQuery plugin

$
0
0

“A while back I did a project that required a horizontal accordion. I eventually found a plugin, but really wasn’t happy with the results. The setup was pretty messy and to get the plugin working like I wanted, it took more time than it was worth.

I also did not want text in the handle or tab area. I wanted it to be more like an image slider. So I decided to do some coding after the project was complete and ended up with my first jQuery plugin.”

Example of use:

$(document).ready(function() {
	$("#featured").zAccordion({ 
		easing: "easeOutBounce",
		timeout: 5500,
		slideWidth: 600,
		width: 960,
		height: 310
	});
});

Source

http://www.armagost.com/zaccordion/

Demo

http://www.armagost.com/zaccordion/


Viewing all articles
Browse latest Browse all 8

Trending Articles