Improving an accordion script - Part 3

In this final post on improving a basic accordion script, we will be taking our final code from part two, and updating it to a be a jquery plugin. You can check out part one if you want to start at the beginning to see how we got here. So,…

Improving an accordion script - Part 2

In part one of this, I took and existing javascript file and did some quick updates and optimizations to improve the overall performance of the script. We reduced the number of selectors and removed the animation functions and put those into the CSS. My teammate and I thought it would…

Improving an accordion script - Part 1

I was sitting in my office at work a while back, and a co-worker came by and asked me to take a look at some of their jQuery code. He had written some fairly simple code to create an accordion effect for a FAQ (Frequently Asked Questions to those who…