heneu Posted February 10, 2021 Share Posted February 10, 2021 Hello, I've made an endless image slider based on the example from CodePen. It's working! The slider in the example is working continuous. Is it possible to modify it to slide one image, wait a certain time and then slide the next image? Thanks! See the Pen QEdpLe by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
Solution akapowl Posted February 10, 2021 Solution Share Posted February 10, 2021 Hey @heneu You could decrease the duration, adjust the amount to shift things to the right for the width of a single item, add a repeatDelay (which represents the time you want to wait) and add repeatRefresh: true to make sure, that when it repeats it will start from the last position instead of the start, and you should be good to go. Welcome to the forums See the Pen 7c06e8f26466232f9183e891114f0077 by akapowl (@akapowl) on CodePen 6 Link to comment Share on other sites More sharing options...
heneu Posted February 10, 2021 Author Share Posted February 10, 2021 Awesome! That's the solution. Thank you very 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