Skip to main content Skip to secondary navigation Accessibility Feedback

Houdini gets accordion support

Houdini, my simple expand-and-collapse script, now supports accordion groups.

Add a data-group data attribute to every toggle in the accordion, and make sure they all have the same name. Houdini will sort out the rest.

Download Houdini on GitHub

  • More articles on...
  • Code

Have any questions or comments about this post? Email me at or contact me on Twitter at @ChrisFerdinandi.

Get Daily Developer Tips