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.
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
Comment by Jason — August 27, 2007 @ 6:13 am
Nicely Done Will!
Comment by Ian Irving — September 5, 2007 @ 10:05 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!!! [...]
Pingback by Recent Code and the Culture of Code Links for Sept 5th | False Positives — September 6, 2007 @ 11:17 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
Comment by Ian — September 11, 2007 @ 9:04 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.
Comment by Jen — September 13, 2007 @ 11:16 am
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
Comment by Dave Porter — September 17, 2007 @ 11:35 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
Comment by Kevin Miller aka stickmanlabs — September 18, 2007 @ 3:27 pm