/champagne

A jQuery plugin to randomize the display of objects in a grid

Primary LanguageJavaScript

Champagne.js

Version 0.0.6

Usage

  1. Style grid layout with CSS
  2. Include latest jQuery and jquery.champagne.js
  3. Initialize champagne() on parent element

Options

  • beginning_delay: integer (default: 300), delay before animation starts
  • delay_between: integer (default: 50), delay between each element's animation
  • duration: integer (default: 500), duration of each element's animation

Callbacks

  • onFinish: called once all elements are faded in

Future Considerations

  • CSS3 only animations
  • Use of other transitions

Copyright (c) 2012 Fresh Tilled Soil

MIT License, http://www.opensource.org/licenses/mit-license.php