Closing EA Accordion with a button click
I have added an accordion, and for content type I have selected a template which all displays fine.
My challenge is that I need to make quite a lot of these style of accordions, some of which will have a lot of content inside of them.
My client wishes that instead of scrolling to the top each time to close the accordion, the user can do this at the bottom of the content via a button.
I have added a button [currently not doing anything] And I assume this is possible by giving the button its own class and using the JS extension to add some code [I have added the extension but unsure what code is required to close the accordion]
If anyone can help me that would be great! The accordion in question is underneath the 2 buttons.
Equally, if you think there’s a better way of achieving this, let me know.
Thanks in advance
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.