Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1345729

    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

    #1345810

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.