Jump to content
Search Community

xcfava

Members
  • Posts

    2
  • Joined

  • Last visited

xcfava's Achievements

  1. Hey @OSUblake, Thanks for the welcome to the forums and for sharing the link to the new containerAnimation feature. I spent a couple of days looking at the docs and trying out some things but I'm still no further forward. From my understanding, the containerAnimation feature only allows you to trigger animations inside an existing scrollTrigger animation. But I'm looking to allow the user to scroll vertically or scroll horizontally to trigger the same horizontal movement of the page. I've found some examples on the forum of people trying to do similar things, but they've tied it into the window.addEventListener function on wheel, rather than using a built-in scrollTrigger solution. But maybe there isn't a built-in solution to what I'm trying to do. Thanks!
  2. Hey, I'm building a website that uses the exact code in the CodePen from one of your demos. But I'm looking to see if it's possible to trigger the animation on either vertical or horizontal scroll, rather than just one or the other. I've read into the `horizonal: true` parameter, but I'm struggling to find anything about triggering an animation on both scroll directions. The effect I'm looking for is exactly the same as on this example here: https://talent.foam.org/projects/golden-boy Any help would be greatly appreciated, Thanks!
×
×
  • Create New...