Jump to content

Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mathijs07's Achievements



  1. Ah that's it. Thank you both. .set() is something I totally missed for some reason. Also, I realise this code is an example from the documentation but for some reason when I tried to implement it it just didn't seem to work... Thanks for the help!
  2. Thank you both for the quick response! @Shaun Gorneau I understand what you mean, that is definitely the problem 😅 @mikel I'm pretty sure .batch() is the way to go, but I just can't seem to get it to work easily. As far as I can see when using .batch() you can't use toggleActions but are instead forced to use onEnter, onLeave, onEnterBack and onLeaveBack. Also, when using fromTo the from doesn't seem to be applied on load of the script. Is there a way to use .batch() while also keeping the code clean like in my example?
  3. have searched the forum but sadly haven't found the post that solved this for me. Basically I want to have a class that I can give to any element on my website which will make it appear on scroll. This part works. When elements with that class appear at the same time I want them to stagger. For some reason I can't get a version working where both these things work. I've tried a bunch of versions but made a Codepen for the version that I believe to be closest to what I want. Hopefully someone can help me achieve this effect. Should anything be unclear please let me know!