M1K3 Posted October 28, 2020 Share Posted October 28, 2020 Hi folks, Is there a way to define a parent container where the gsap scrolltrigger animations take place? I'm looking to achieve similar functionality as found in the scrollmagic plugin here. Thank you for any pointers in regards to this matter. Mike Link to comment Share on other sites More sharing options...
Solution GreenSock Posted October 28, 2020 Solution Share Posted October 28, 2020 If I understand your question correctly, it's simply a matter of defining the "scroller" special property, like: ScrollTrigger.create({ scroller: ".container", ... }); Is that what you mean? 2 1 Link to comment Share on other sites More sharing options...
M1K3 Posted October 28, 2020 Author Share Posted October 28, 2020 I think you solved my issue, thank you Jack! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now