Open elliottmangham opened 4 years ago
Hi,
Is there any examples or guidance on toggling the reverse based on scroll direction (up/down) using Marquee3000?
Here is a site that does it: https://locomotive.ca/en
Similarly, it would be great to see if anybody has been able to adjust the speed temporarily based on current scroll speed, similar to https://index.studio/about.
Thank you, Elliott
Hello eliott, lt's a late answer but I guess you can achieve that but updating the data-reverse property and hitting the update method. You can easily get the scroll direction or scroll velocity by listening to the scroll event.
cheers
Hi,
Is there any examples or guidance on toggling the reverse based on scroll direction (up/down) using Marquee3000?
Here is a site that does it: https://locomotive.ca/en
Similarly, it would be great to see if anybody has been able to adjust the speed temporarily based on current scroll speed, similar to https://index.studio/about.
Thank you, Elliott