Jump to content
Search Community

Leaderboard

Popular Content

Showing content with the highest reputation on 03/10/2024 in all areas

  1. First of I would not trigger a click event on something else that then in turn does some logic. I would recommend abstracting out the thing you want to happen and then make the click event and the Observer use that abstracted out function. If you haven't worked yet with the Observer plugin, it fires a lot of times when you just use it as is. It is a smart idea to build in a check if something is already happening and then preventing it from doing its thing. I've create a new variable isAnimating which is false and get set to true when it starts to animate, I've rewritten your prev and nexterPush to use an animations which sets isAnimating to false when it is done. Hope it helps and happy tweening! https://codepen.io/mvaneijgen/pen/dyLMvRz?editors=0010
    1 point
  2. Sorry, we can't really provide a release date but you're welcome to use that beta version in the meantime if you'd like. You don't need to wait. Yes, exactly. And if it's used in a site/product/app for which a fee is collected from MULTIPLE users, that'd require the special commercial license that comes with "Business Green" memberships. ? Hopefully you'll find that the membership more than pays for itself very quickly. Good luck with the project, @coolDev!
    1 point
  3. Sorry about any confusion there - I believe it was a regression in ScrollTrigger 3.11.4 which should be resolved in the next release which you can preview at https://assets.codepen.io/16327/ScrollTrigger.min.js https://codepen.io/GreenSock/pen/KKXZOyZ?editors=0110 Better?
    1 point
  4. Hi tracta, You only need 1 timeline, and for snapping, check out GSAP's utility methods. We can use some of those animate the progress of the timline. GSAP Circular Carousel (codepen.io)
    1 point
  5. Use scrollTrigger inside timeline, NOT ScrollTrigger https://codepen.io/-greg-/pen/abdmNdy UPD: Check "Simple example" and "Advanced example" on documentation page https://greensock.com/docs/v3/Plugins/ScrollTrigger
    1 point
×
×
  • Create New...