Streaming live at 10am (PST)

Adding custom javascript functions


#1

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);">


#2

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: http://forum.webflow.com/t/posting-guidelines-for-the-need-help-category/8094

Thanks in advance! smile

PS - you can add custom jquery in the custom code area. For more information on this, please refer to this article: http://help.webflow.com/site-settings/custom-code


#3

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