Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Jloafs

Very basic draggable question

Go to solution Solved by GreenSock,

Recommended Posts

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

Yes. Perfect! Thank you so much :-)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×