-
2Replies
-
Foundation Duplicate Tabs
Hi I've been trying to make this work but I couldn't find any solution. I'm using tabs in a site and I duplicate the tabs at the bottom of every tabpanel to use as next and previous buttons. The bottom tabs (next & previous) work but they don't put the... (continued)
Last Reply by JOSH DE LA CRUZ over 4 years ago
You commented on
JOSH DE LA CRUZ's post
over 4 years
I'm trying to make the bottom buttons change the active state on the top tabs, as when you press the "Next: TAB2" button changes to Tab 2 and also move the active state, which is actually in Tab 1, to Tab 2.
Actually it does change the tabs when you press the buttons at the bottom but it doesn't change the active class on the top tabs.
You commented on
Jonno W's post
over 4 years
@Rafi Benkual Hi I've been trying to make something similar but I couldn't find any solution.
I'm using tabs in a site and I duplicate the tabs at the bottom of every tabpanel to use as next and previous buttons. The bottom tabs (next & previous) work but they don't put the active class to the top tab-title. How can I make it work?
I wrote the code in codepen http://codepen.io/anon/pen/zGQQEO
Please, help me. Thank you!
-
No Content
-
No Content
I'm trying to make the bottom buttons change the active state on the top tabs, as when you press the "Next: TAB2" button changes to Tab 2 and also move the active state, which is actually in Tab 1, to Tab 2.
Actually it does change the tabs when you press the buttons at the bottom but it doesn't change the active class on the top tabs.