How can I stop this slide show when it returns to the first slide?

Posted on 2016-10-20
Last Modified: 2016-10-21
Hi, I'm creating this site:

I'd like the slide show to go through once, then stop when it gets back to the first slide.

I'm uploading the two js files needed for the slideshow, renamed as .txt.

Thanks- I've gone over the code, but I'm a newbie at jquery, and I can't figure it out.
Question by:mel200
  • 3
  • 3
LVL 52

Accepted Solution

Julian Hansen earned 500 total points
ID: 41853419
Are you wanting a solution to modify the library to do what you want or specifically for something in the library that supports this?

Looking at the code I can't see an option to do what you want. You would need to
a) Add an option for stop after N interations
b) modify the internal _navigate function to check the global option for stop after N iterations, maintain an iteration count - (whenever slide index goes to 0 increment it) and if equal to N then call _stopSlideshow

Author Comment

ID: 41853867
I am wanting a solution to modify the library to do what I want. I think I understand what you're saying, but I'm not sure I can implement it. Let me try, then get back to you. Thanks.
LVL 52

Expert Comment

by:Julian Hansen
ID: 41853985
Give it a go and post results here - if you get stuck I will try pick it up - a bit busy right now.
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.


Author Comment

ID: 41854000
Honestly, I think I'll just lose or replace the slide show. It's a little too fancy for what I need in any case.

Author Closing Comment

ID: 41854001
Thanks for the help.
LVL 52

Expert Comment

by:Julian Hansen
ID: 41854008
You are welcome.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now