How to slide just one item in Draggable slider? in GSAP Posted August 2, 2022 Hi guys! I'm new here and I'm struggling to edit this slider by synchronizing slider index with titles index. It was pretty easy to make it work on nav click, but as you can see it can't count which is the destination index, and it only counts one for titles. Have you some suggestions? Also I would like to add an active class to che center slide in order to make the others with some opacity.. Thank you!! See the Pen ZExXEyY by sarahKitsune (@sarahKitsune) on CodePen
How to slide just one item in Draggable slider?
in GSAP
Posted
Hi guys!
I'm new here and I'm struggling to edit this slider by synchronizing slider index with titles index.
It was pretty easy to make it work on nav click, but as you can see it can't count which is the destination index, and it only counts one for titles.
Have you some suggestions?
Also I would like to add an active class to che center slide in order to make the others with some opacity..
Thank you!!
See the Pen ZExXEyY by sarahKitsune (@sarahKitsune) on CodePen