Accordion Magic
Being a huge fan of anything that makes my life easier, I've been using scriptaculous for a while. I recently found stickman's accordion and was very pleased with its performance compared to the asp.net ajax accordion. (Mostly I was pleased stickman's version shows all content with scripts off while the asp.net one hides it.)
The only feature that was better in the asp.net version was the ability to close panels. So I added it.

August 27th, 2007 at 6:13 am
Thanks so much for adding the ability to close panels. It works great. I've been trying to find a replacement for the mootools accordion on our website (http://www.iconologic.com/) because it conflicts with the prototype library. I wasn't going to be able to use the stickman accordion until it had this feature.
Muchos Gracias
September 5th, 2007 at 10:05 am
Nicely Done Will!
September 6th, 2007 at 11:17 am
[...] Accordion Magic Will has taken stickman’s accordion and added the ability to close panels, and code to keep contents hidden while page loads. Outstanding!!! [...]
September 11th, 2007 at 9:04 am
Saweet. Nice with the closing ability. Quick question, on the horizontal accordion how do you determine which ones opens first. On your version the tab "Yes, you can close these panels too..." is the default. Is there an easy way to set the code to default to the 1st tab? I don't know any javascript but am good at "tinkering".
THankS
September 13th, 2007 at 11:16 am
After I used your accordion.js in place of Stickman's, I noticed it stopped working in IE 6. Is it confirmed to continue working IE 6? When I click my headers, the content divs to not slide down. This could be due to something I did, of course. My implementation is working fine in Firefox and IE 7for PC as well as FF and Safari for Mac.
September 17th, 2007 at 11:35 pm
Hi Wil,
Great work on this - thanks for your efforts...
I'm just wondering how to stop the top panel from opening when the page loads ?
cheers, Dave Porter
September 18th, 2007 at 3:27 pm
Copyright primedigit.com eh? :)
I am updating the accordion today and have added the features you added and cleaned it up quite a bit, check the project page soon!
Thanks!
Kevin