Solved

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

Posted on 2016-10-20
6
41 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 54

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 54

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 54

Expert Comment

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

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
More SharePoint App with Angular and Bootstrap 17 47
Javascript to set controls visibility 5 34
how can i extend ? 2 42
Javasctipt 2 24
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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)

776 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