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

Posted on 2016-10-20
Medium Priority
Last Modified: 2016-10-21
Hi, I'm creating this site: http://www.lowsodiummeal.com/lowsodiummeal-net/index.html

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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 58

Accepted Solution

Julian Hansen earned 2000 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 58

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.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


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 58

Expert Comment

by:Julian Hansen
ID: 41854008
You are welcome.

Featured Post

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
Suggested Courses

764 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