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

stopAuto() not working correctly? #134

Open
cliveyg opened this issue Dec 6, 2017 · 0 comments
Open

stopAuto() not working correctly? #134

cliveyg opened this issue Dec 6, 2017 · 0 comments

Comments

@cliveyg
Copy link

cliveyg commented Dec 6, 2017

Hi,

Is there a problem with stopAuto()? When I call it it doesn't stop the carousel/slider. I've put some debug in the function and can see it has been triggered but the carousel/slider doesn't stop. Weirdly when setting autoHover to 'true' stopAuto works fine when mousing over the carousel/slider.

I'm using Slippry 1.4.0, with JQuery 3.2.1 and have tried it with both Firefox 57.0 and Chrome 62.0.3202.94 on Mac.

My code to start the slider:

$("#bs-rotate").slippry({

    slippryWrapper: '<div class="sy-box pictures-slider" />', 
    adaptiveHeight: false, // height of the sliders adapts to current slide
    captions: false, // Position: overlay, below, custom, false
    pager: false,
    controls: false,
    autoHover: true,
    transition: 'fade',
    speed: 3000, //time the transition takes (ms)
    useCSS: false //need to set this false as the transitions are very jumpy without it

});

My code to stop the slider:

var el = $("#bs-rotate");
el.slippry().stopAuto();

I also tried el.stopAuto() with the same result.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant