Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to add auto play #1

Open
jainheenaer opened this issue Dec 8, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@jainheenaer
Copy link

commented Dec 8, 2017

Hi i want to use this with auto play features.
Please help
Thanks.

@aliy321

This comment has been minimized.

Copy link

commented Dec 21, 2017

maybe you can try settimeout > bind click next/prev?

@monyprak

This comment has been minimized.

Copy link

commented Feb 1, 2018

I just solve like this.

$( document ).ready(function() {
      setInterval(function(){
        $('.slidenav__item--next').trigger('click');
      }, 6000);
 });
@kalpesh-khule

This comment has been minimized.

Copy link

commented May 21, 2018

You can add these two scripts at the bottom of your HTML just along with other script tags:

`<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>

<script type="text/javascript"> $(document).ready(function() { setInterval(function(){ $('.slidenav__item--next').trigger('click'); }, 1000); }); </script>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.