Hi Guys,
I’ve tried everything to get the custom code to work so that when clicking one of the ‘lego brick’ nav links, the relevant tab will display, following various instructions on this thread: Linking to Specific Tab from another Link or Button - General - Forum | Webflow
and other similar threads but to no avail.
At the moment I’m just trying to configure for the viewall tab and then replicate the code for the others once I get it working!
I currently have:
<script>
$(function(){
$('#viewall-button').click(function(){
$('#viewalltab').click();
});
});
</script>
in the footer code, and have given the tablink the id of ‘viewalltab’ and the navlink the id of ‘views-button’, am i missing something?
Can anyone please help me?
https://preview.webflow.com/preview/brickscene?preview=f03accbdbb7d283304da70476eade151
Thanks,
Adam