Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@joelambert
Created December 20, 2011 13:01
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 joelambert/1501502 to your computer and use it in GitHub Desktop.
Save joelambert/1501502 to your computer and use it in GitHub Desktop.
flux.js example - single transition with no pagination
// Execute this code when the page has loaded
$(function() {
var slider = new flux.slider('#slider', {
transitions: ['swipe'], // Limit the transitions to just the swipe effect
pagination: false // Disable the pagination controls
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment