Jump to content
Search Community

JorisD

Members
  • Posts

    2
  • Joined

  • Last visited

JorisD's Achievements

  1. Okay that was stupid. I was not just defining the function but also calling it straight in the JS, before calling it in ScrollTrigger. Now that's embarrassing, please consider I said nothing ?‍♂️
  2. The pen is pretty self-explanatory. I am want to trigger a function when reaching the 2nd section of my page, but for some reason it gets triggered on page load. But on the same ScrollTrigger, the ToggleClass behaves normally. What am I missing here? I am only defining it at first, and then calling it Thanks a lot in advance!
×
×
  • Create New...