Streaming live at 10am (PST)

Linking to a specific tab from a button link


Hi there.

I would like to know if you and your team can help me with an issue, please, with the site:
1) On the jobs page, for exemple:, we have “Jobs” button.

2) Clicking on the button I would like to link to a specific tab on So, I would like to have active the “Jobs” tab to show all the jobs.

It´s going now to:

But I would like to go to this way and I don´t use as default the “Jobs” tab.

Kind regards.

Linking a button to a tab
Buttons on homepage link to specific tab on services page
  1. Create individual classes for all your tabs

  2. Put the code below into Site Settings > Custom Code > Footer Code:

     function getParam(name) {
         name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
         var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
         results = regex.exec(;
         return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
     var Webflow = Webflow || [];
     Webflow.push(function () {
         var tabName = getParam('tab');
         if (tabName) $('.' + tabName).triggerHandler('click');
  3. Append this to the href/URL on the button you are linking from


    Replace pagename and tabclass with slug of the page that the tabs are in. eg. If the tabs are in the ‘about’ page and you want to link to the 2rd tab with a class of ‘secondtab’, then;


Hope this helps. This topic was discussed here;

What is the direct link to a tab that is not an active tab on that page?
Linking to a specific tab from a button on another page
Accessing tabs from address bar

Thank you so much @AlexManyeki!

closed #4

This topic was automatically closed after 60 days. New replies are no longer allowed.