basilio / responsiveCarousel

Simple carousel
MIT License
113 stars 64 forks source link

Fast click on next stuck on previous #30

Open maheshparadkar opened 10 years ago

maheshparadkar commented 10 years ago

i am trying to continuously clicking on next and sudden click on previous its stuck it wont let you previous item until you refresh your page

pioneerwebsites commented 10 years ago

Yes, I have the same problem. And if clicking fast enough, you can trigger an advance, but the crsl-active class won't move.

jagdipa commented 9 years ago

I have the same problem. Did anyone get a fix for this?

pioneerwebsites commented 9 years ago

I switched to use Owl Carousel.

ecarpio commented 9 years ago

what a piece of shit

ecarpio commented 9 years ago

$('.crsl-items').on('beginCarousel', function(){ console.log('animating') $('.crsl-nav a').prop("disabled",true); $('.crsl-nav a').click(function(e){ e.preventDefault(); }) });

$('.crsl-items').on('endCarousel', function(){ 
    $('.crsl-nav a').prop("disabled",false);
});