jQuery Plugin: Accordion
April 14th 2009 | posted by tim
jQuery accordions are a dime a dozen these days; there are dozens of them floating around the jQuery plugin repository, each with its own specialized functionality and purpose. A few projects ago, I was looking for a basic accordion plugin but could not find one simple and lightweight enough to suit the project, so I decided to write my own. It was my perfect foray into jQuery plugins, as the functionality is simple and basic and allowed me to focus on learning how to effectively write plugins.
We have continued to use jQuery.yaa (yet-another-accordion) in most of our projects due to it’s light weight and simple functionality. It functions as a basic accordion menu, and nothing more. I may expand on it later depending on the needs of future projects, but for now, here is jQuery.yaa:

