Quick and dirty (but useful) jQuery accordion pattern
March 30, 2009It’s fairly common to want to have multiple panels on a page, only one of which should be visible at any given moment. There are too many jQuery accordion examples to count. I recently knocked together a handy general case, which includes a novel piece of functionality. What makes this one different? You can specify an arbitrary panel to be expanded upon page load, without any server-side code.