Automatically flip
Automatically flip
Hi, I'm reading this article like how create a " Flipping Circle Slideshow "
http://tympanus.net/codrops/2013/01/28/flipping-circle-slideshow/
and i want to make it flip automatically.
This is the code to flip automatically but i dont know how to figure out run this code well. please could you help me
This was they told me to do.
before you initialise the plugin, eg $(element).flipshow();
you can add a public method named navigate and then call it from within a setTimeout function.
- $.Flipshow.prototype.navigate=function(element,direction){
- this._navigate(element,direction);
- };
- $("#fcSlideshow").flipshow();
- setInterval( function() {
- $('#fcSlideshow').flipshow('navigate',$("#fcSlideshow div.fc-right span:first"),'right');
- }, 3000);
-