background slideshow autoplay

Hello Experts,

I am trying to figure out how to make this slideshow auto play. Please if you can help. the entire code including the JS file is provided in codrops.

I really like this slideshow yet i have no idea what to change in order to make autoplay. Thank you.
RefaelAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dejan VasiljevicSys Admin and ProgrammerCommented:
Hi Rafael,

Just add interval like this

var auto = setInterval(1000); // 1000 ms = 1 sec

Open in new window


Thanks,
D.
0
RefaelAuthor Commented:
Hi Dejan Vasiljevic

First, thank you. As I am not a JS pro can you tell me where in the script should i add it?
0
Dejan VasiljevicSys Admin and ProgrammerCommented:
Well when You download source, there should be CSS/HTML/JS folders with file. Open .js file and at the beginning of the script you will find where the creator defined var(s) variables, and you should just add this code after them, where are variables defined. Probably creator defined toggle class so You can add it after toggle, or instead of it.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

RefaelAuthor Commented:
I have the JS file opened yet I do not see any defined var(s) variables at the beginning not toggle?
0
RobOwner (Aidellio)Commented:
in your page:

$(function() {
    setInterval(function() {$(".next").click();}, 10000);
});

Open in new window


This will click the next button automatically every 10 sec
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RefaelAuthor Commented:
Hi Rob Jurd .... Thank you.

It took me some time to understand what you meant.... a wise quick solution I would say :-))

I am guessing there is no other "elegant" solution yet if this works I am happy.

Thank you again.
0
RefaelAuthor Commented:
A quick, yet wise solution :-) Thank you Rob Jurd
0
RobOwner (Aidellio)Commented:
No problem... The reasons it's not "elegant" is this isn't a plugin that you has configurable options.  More like code someone has posted.  You could modify the object as there is an internal  _navigate() function but currently that isn't accessible from the outside ;)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.