Skip to content

Instantly share code, notes, and snippets.

@jamiehs
Created January 16, 2013 23:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiehs/4552129 to your computer and use it in GitHub Desktop.
Save jamiehs/4552129 to your computer and use it in GitHub Desktop.
Adding an after callback to a SlideDeck
$('.skin-noisy dl.slidedeck').slidedeck({
transition: 'linear',
speed: 250,
complete: function(deck){
// Alert the current slide number after animating
alert(deck.current);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment