Reputation: 116273
I have a ranking table which changes every second. I want to animate the table rows smoothly (not necessarily every second; maybe every 5 seconds).
A quick search revealed this jQuery plugin, based on this animated table sort. For my purposes, it looks a bit too much like a sports ranking, and the code is outdated and unmaintained.
Are there alternative plugins/libraries to animate changing ranking tables?
Upvotes: 16
Views: 3627
Reputation: 9914
Try using this link which has a demos for different kind of sorting algorithms.
http://www.sorting-algorithms.com/nearly-sorted-initial-order
However, this not a jQuery plug-in, but I think it can help you.
Upvotes: 3
Reputation: 3125
There is an interesting post on stackoverflow on your same subject: Using jquery, how to I animate adding a new list item to a list?
Of course it should be changed a little bit, because maybe you want to add more than one item to the list.
But what you can do is to refresh it every X seconds, and for each of the list item add the item in an animated way.
Upvotes: 8