-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to open/close all panels at once? #34
Comments
I wrote some code to do this a while back. You can see a working example at https://ssbhibbing.com/faq.html HTML
jQuery
NotesMultiple Buttons Per Set of AccordionsThe code is written with the assumption that there will be only one expand/collapse button within the Multiple Sets of AccordionsHowever, the above code can handle the situation where there are multiple Minor SimplificationThe part of the code that handles the ARIA attributes could perhaps be simplified by using https://github.com/marcus-herrmann/toggleAria but I haven't gotten around to that yet. |
It would be nice to have an open/close all method to act on everything in the accordion at once.
The text was updated successfully, but these errors were encountered: