Tagged: tab section
Hello,
I am using the Tab section in several pages on my website.
Is it possible to add a click event on another element of the page and have the page scroll to but also open the corresponding tab?
Thank you.
Best regards,
Manos
Hey Manos,
Thank you for the inquiry.
We actually created a custom script for this. Please check the following thread for more info.
// https://kriesi.at/support/topic/submenu-links-to-tab-sections/#post-1296895
You may need to adjust the element selector in this line.
scrollToTab( '.menu-item a', 'click' );
The code above targets the default menu item, so if you are using a custom element or a button, you need to use their selectors instead.
Best regards,
Ismael