Adding custom javascript functions

Hello,

We are working on the tab component of our site foreverbook.webflow.com and we are trying to implement a condition to show the tabs using our own Javascript function but it look like the event onclick of the element that is created by webflow is not active.

Here is the code.

<a class="w-tab-link w-inline-block tablink" data-w-tab="Tab 5" onclick="ViewMemories(1);">

Hi @malcolmdomecq ,

Can you please update your post with some more information so we can help you faster? Things like screenshots and your environment info really speed things up.

Posting guidelines can be found here: Posting Guidelines for the Design Help Category - General - Forum | Webflow

Thanks in advance! :slight_smile:

PS - you can add custom jquery in the custom code area. For more information on this, please refer to this article: Custom code in head and body tags | Webflow University

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.