Streaming live at 10am (PST)

Linking to a specific tab from a different page

Hi there,

I’m having difficulty in linking to a specific tab from a different page on the site below.

I’m using the following code within the Head

var Webflow = Webflow || [];
Webflow.push(function () {
var tabName = getParam('tab');
if (!tabName) return;

$('.' + tabName).triggerHandler('click');

function getParam(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(;
return results == null ? "" : decodeURIComponent(results[1].
replace(/\+/g, " "));

The setup, for example, is the bottom CTA Client button:

Not sure where I’ve gone wrong, any advice will be much appreciated.


Thanks Avivtech, much appreciated :wink:

1 Like

Does this helps? Answers all your questions?