Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 371 Bytes

README.markdown

File metadata and controls

13 lines (8 loc) · 371 Bytes

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