I really like the parallax slider on this site: https://www.peloton.com/#parallax
How do I make an HTML-element trigger an event when the element gets scrolled to the top of a page?
I mean, on peloton.com, the headings in the right-hand section (MasterView, LandView, RigView, etc.), when they’re scrolled to the top of the page, trigger an event that changes the content of the left-hand section. How do I make something like that on my own site? Should I use some libraries or something?
Read more here:: Trigger an EVENT when an ELEMENT changes its POSITION on a page