Hi there! I'm facing an issue with my scrollTrigger functionality.
I have my website with 5 sections and I'm using gsap to jump to the next section and overlap it with the scroll, my problem is that now I need to add redirections in my navbar to each of those sections but the result is not good, I have to repeat my "goToSection" function multiple times to reach the section "3" for example.
So I want to achieve with one click and one function execution, scrolling to the de
Hi there! I'm facing an issue with my scrollTrigger functionality.
I have my website with 5 sections and I'm using gsap to jump to the next section and overlap it with the scroll, my problem is that now I need to add redirections in my navbar to each of those sections but the result is not good, I have to repeat my "goToSection" function multiple times to reach the section "3" for example.
So I want to achieve with one click and one function execution, scrolling to the de