I have inserted a “Tabs” component, with 5 tab links. 3 of the tabs will have content, but I would like the other 2 tabs to link scroll to separate sections of the same page.
I understand why, since tabs are meant to contain the content within themselves.
However, I’m wondering if there is any code that would make a tab link scroll to a separate section. I was thinking the “Custom Attributes” might be the answer, but I searched high and low and came up with nothing.
If anyone has any ideas, that would be amazing.
Thanks!
P.S. I tried using a navbar (which will link to section ID’s), but there were too many issues with the current tab state working/not working, as this is not a good application for the navbar.
No (Tabs is for changeable content not for anchors - you cannot mix this together - also from User experience this is little not friendly)
The most basic solution is next to the tab menu - put 2 more buttons with the same style and look and thats it (Also not perfect because the active state will not change for button 4-5).
Thanks so much for taking the time to share this information! I’m not a developer so this code is a bit beyond my knowledge, but I will definitely give it a try.
I thought that maybe I could add <a href="#Vids-Pics"></a> to the tab link’s “Custom Attributes”…