Jloafs Posted October 13, 2021 Share Posted October 13, 2021 Hi guys I'm pretty inexperienced and just trying to achieve something quite simple using draggable plugin. Can anybody help me to stop the images inside this draggable container from scrolling beyond the left and right edges of the first and last image? I've read through the documentation and tried scrollLeft and bounds etc but just can't get anything to work. Many thanks in advance :-) See the Pen WNEvGOy by Jloafs (@Jloafs) on CodePen Link to comment Share on other sites More sharing options...
Solution GreenSock Posted October 13, 2021 Solution Share Posted October 13, 2021 Is this what you mean?: See the Pen ExvjNev?editors=0010 by GreenSock (@GreenSock) on CodePen Thanks for being a Club GreenSock member, @Jloafs! 🎉 2 Link to comment Share on other sites More sharing options...
Jloafs Posted October 13, 2021 Author Share Posted October 13, 2021 Yes. Perfect! Thank you so much 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