Questions tagged [locomotive-scroll]

Locomotive scroll is a simple scroll library, it provides smooth scrolling with support for parallax effects, toggling classes, and triggering event listeners when elements are in the viewport.

111 questions
0
votes
0 answers

How to fix locomotive.js uncaught reference error?

I want to use locomotive.js on my project and have installed it on vscode (npm install locomotive-scroll) and have even followed this tutorial: https://www.youtube.com/watch?v=zrM6N-G6U_M&list=PLNf1MNtmy_vyQkFjuNqxKpQT0U_rbC_y8&index=19 My problem…
Hamza Khan
  • 67
  • 9
0
votes
1 answer

Can't update my mouse position, because of my horizontal scroll (LocomotiveScroll)

I'm trying to make a custom cursor with the Ink Cursor by Ricardo Mendieta. https://codepen.io/mendieta/pen/WgvENJ The cursor is working, but the problem I have is that I use a horizontal scroll with Locomotive Scroll. When I scroll, the mouse…
Sven Z
  • 183
  • 1
  • 10
0
votes
1 answer

Why is the second call not working in locomotive-scroll?

I have the following code...
Jackie
  • 21,969
  • 32
  • 147
  • 289
0
votes
1 answer

jQuery Window scroll issue with Locomotive Scroll on the same page

I'm developing a website using the plugin Locomotive Scroll to create a smooth scrolling experience. The plugin works fine. However, I would like to have a fixed header (top menu) with the typical reduce height effect when starting scrolling the…
Mathieu Préaud
  • 357
  • 3
  • 16
0
votes
3 answers

Change Page Color On Scroll Using Locomotive Scroll

How to change Page color Smoothly on Scroll like this Amanda Braga Portfolio Dpk
Dpk
  • 567
  • 5
  • 16
0
votes
1 answer

Barba.js and locomotive-scroll are incompatible?

I have tried barba.js and locomotive-scroll to work (I also tried scrollmagic) and I am not getting it working fine. If I put locomotive-scroll on the about page and reload the browser, it works, but if I go from there to the home page and go back…
guidi45
  • 1
  • 1
1 2 3 4 5 6 7
8