Solved

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

Posted on 2016-10-20
6
46 Views
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.
jquery.slitslider.js.txt
jquery.ba-cond.min.js.txt
0
Comment
Question by:mel200
  • 3
  • 3
6 Comments
 
LVL 55

Accepted Solution

by:
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
0
 

Author Comment

by:mel200
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.
0
 
LVL 55

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.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:mel200
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.
0
 

Author Closing Comment

by:mel200
ID: 41854001
Thanks for the help.
0
 
LVL 55

Expert Comment

by:Julian Hansen
ID: 41854008
You are welcome.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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)

856 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