A jquery plugin to 'smoothly' add an item to a list
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.markdown
jquery.smoothadd.js

README.markdown

jquery.smoothadd.js

'Smoothly' add a new item to a list (ul or ol).

Usage

$('ul').smoothadd('some text');

Options

  • maxItems - number of items to display in the list
  • duration - time (in milliseconds) for the animation to run
  • animRatio - duration for new item's main movement vs. new item's appearance and old item's disappearance