Solved

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

Posted on 2016-10-20
6
29 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 51

Accepted Solution

by:
Julian Hansen earned 500 total points
Comment Utility
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
Comment Utility
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 51

Expert Comment

by:Julian Hansen
Comment Utility
Give it a go and post results here - if you get stuck I will try pick it up - a bit busy right now.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:mel200
Comment Utility
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
Comment Utility
Thanks for the help.
0
 
LVL 51

Expert Comment

by:Julian Hansen
Comment Utility
You are welcome.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
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)
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…

772 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

10 Experts available now in Live!

Get 1:1 Help Now