Thanks @DanielRuf – was this even possible in Foundation 6.4.2? Given that it’s probably now, I’m considering just writing a basic jquery toggle function. I also wasn’t able to find docs to the specific version I’m running on my site, can you provide that?
No, not really. There is at least the toggle method in both versions but there were several bugs in 6.4.2 which were fixed in 6.4.3 and later. As in 6.6.1 you have to catch the needed events and do the needed logic or call the needed methods like I have shown.
Hi… forgive my newbieness – I’m not seeing any code differences other than the reference to the “_collapse2” in your JS. All is see in the errors are “We’re sorry, ‘_collapse2’ is not an available method for Tabs.” and “We’re sorry, ‘_collapse’ is not an available method for ResponsiveAccordionTabs.”
Right, because we did not expose the original plugin instances (tabs / accordion) but the outher one and there was no such method for this in older releases to close things (up / down were only implemented for accordion, not for tabs).