How can I make the slider stop playing once it reaches the final slide? It’s this slider here.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Brian’s answer was almost spot on. The only change needed was to base.$items.length()-1
The correct code, for anyone who might want to use it, is: