Hey everyone,
I’m pretty new to webflow and coding, so this is my first-ever project of my own design. The thing that I want is to create some light interactions on scroll, change navcolor on the scroll and allow smooth scrolling.
I’ve created the animation for navbar color (using GSAP) change successfully, but once I add a locomotive scroll to the page before body tag everything stops working!
I have no idea about the possible solution, so would be happy to hear your thoughts
With a lot of pain I figured our how to make these two work together.
Below you can see what I have in my before body tag in the project with an example of working GSAP animation (//Nav Olive)
sorry for a silly question i have implemented a chasing mouse cursor that depends on the scroll data from the window how can i get the scroll from it please help me i am very struct in this`import {gsap } from ‘gsap’
Hey @Daria_Kalinina ,
Hope you are doing great!
Sounds good that You have fixed your Problem. Could you help me about this I also need to do the same thing but When I’m using your code to do It’s not working I need to use both GSAP and Locomotive But What I’m facing issue Is I can’t update Window Scroll Because I need to use Gsap Animation for footer but Get issue in scroll which is paid version of GSAP So I need to use LS for smooth Scroll.
How Can I achieve this Functionality?