akudlac Posted May 22, 2023 Share Posted May 22, 2023 Hi, I forked a GS slider, and must've missed something along the way. The links don't match up to the slides most clicks. I'd think there's a basic flaw in my logic, but haven't found it. Also, is there a way to add a class to whatever link corresponds to the current slide? Thanks. See the Pen bGmOZEB by akudlac (@akudlac) on CodePen Link to comment Share on other sites More sharing options...
Rodrigo Posted May 23, 2023 Share Posted May 23, 2023 Hi, Content sliders are not the easiest thing to do and the links in your setup definitely are not working as expected. The behaviour right now is a bit erratic. Unfortunately we don't have the time resources to fix complex logic issues or create custom solutions for our users. This example by @PointC should provide a good starting point though: See the Pen YRzRyM by PointC (@PointC) on CodePen If I was you I'd remove Draggable, Inertia and auto-play right now and keep everything manual, as simple as possible. Once you have a fully working example with that, start adding features to it. We are here to help you in that process with any GSAP related issue you have, so feel free to post in this thread or create a new one. Hopefully this helps. Happy Tweening! 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