Tab auto scroll to the top of content on clicking new tab in webflow

“Tab auto scroll to the top of content on clicking new tab”

Hey Experts!
i found a really good video wich solves with custom code my issue. Unfortunately the code doesn´t work on my page. Even though i put the right class in the code… Could anybody have a brief check on my read only link, to help me with my problem?

Thank you so much!

$(".Tablink").on("click", function() { $("html, body").animate({scrollTop:0},500); })

Here is my site Read-Only:

Hey @Tomas_Statter , even though in Webflow you can have Caps letters that is not the case in actual code. Can you try writing this instead as your code?

$(“.tablink”).on(“click”, function() { $(“html, body”).animate({scrollTop:0},500); })

1 Like