codrops / SlitSlider

A responsive slideshow with a twist: the idea is to slice open the current slide when navigating to the next or previous one. Using jQuery and CSS animations we can create unique slide transitions for the content elements.
459 stars 135 forks source link

This works only after clicking the nav buttons. Can this be automated? #31

Closed kandarpofficial closed 8 years ago

kandarpofficial commented 8 years ago

The animation works only if I click on the nav buttons. Is there any way that the animation starts on its own with a timer attached to it which can be controlled?

AftabAhmad commented 8 years ago

$( '#slider' ).slitslider( { autoplay : true, //set it to true interval : 4000, speed: 800 });

kandarpofficial commented 8 years ago

Thanks a lot! That helps! :)