DeDX Posted Wednesday at 07:14 AM Share Posted Wednesday at 07:14 AM Hello! I'm trying to create a carousel similar to this website: https://wtcabuja.com/ As you scroll in reference site, a single item stays in the middle, scrolling fills the progress below and when it completes, the next slide comes from the right side and vice versa for reverse. I tried implementing something similar by sliding an item using ScrollTrigger. But I don't know how can I manage to make multiple items slide back and forth on scroll. Here's a Stackblitz Minimal Demo of what I did. Any kind of help is appreciated. Thanks! Link to comment Share on other sites More sharing options...
GSAP Helper Posted Wednesday at 04:01 PM Share Posted Wednesday at 04:01 PM For this I'd definitely take a look at the ScrollTrigger Docs (https://gsap.com/docs/v3/Plugins/ScrollTrigger/) and some of the demos should point you to a better starting point. I was thinking this would be particularly helpful to get you better started: See the Pen XWmEoNg by GreenSock (@GreenSock) on CodePen That said, this question as a whole, seems to be a bit beyond the scope of our resources. Please let us know if you have any specific GSAP questions after you check the above links. -- We love helping with GSAP-related questions, but unfortunately we just don't have the resources to provide free general consulting, logic troubleshooting, or "how do I recreate this cool effect I saw on another site?" tutorials. Of course anyone else is welcome to post an answer - we just want to manage expectations. If you're looking for ScrollTrigger effects, I'd recommend looking at the demos at https://codepen.io/collection/DkvGzg and https://codepen.io/collection/AEbkkJ - you may be able to use one of those as a jumping-off point. You are welcome to post in the "Jobs & Freelance" forum for paid consulting, or contact us directly. Otherwise, if you've got a GSAP-specific question just post that here along with a minimal demo and we'd be happy to take a look. 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