Skip to content

Instantly share code, notes, and snippets.

@macodev
macodev / jquery.flipbook.js
Created January 20, 2016 14:28
jQuery plugin to display an animated image sequence. Added options for callback methods that are triggered when animation starts/ends.
//By David Keegan
//InScopeApps.com
//http://inscopeapps.com/demos/flipbook/
(function($){
$.fn.flipbook = function(options){
options = $.extend({
'start': 0, //start frame
'end': 100, //end frame, must be greater then start
'step': 1, //number of frames to step over while animating