Is there a way to disable a sections expansion from the header click, and instead assign the functionality to a link included in the header? The idea is to have a button on the left of the header expand and collapse the header. My hope is that this would allow me to include other elements in the header that would be clickable without expanding/collapsing. Thanks!
Share
Here is a way to do it. Basicly, I’m initializing accordion with
disableoption and bindingclickevents which first enables accordion, then do the accordion thing and lastly disables accordion.HTML:
Javascript: