im new to jQuery and searching a way for doing smthing like this:
I have a value [100] and 5 categorys [apple, banana, kiwi, lemon, orange]
What I want is to have for each category a slide开发者_如何学Pythonr (a line with a point on it you can move)
So every category starts with a value of 20 (100 / 5).
When there is more banana than apple and you "slide" banana to the value of 40 the other values should decrase so I've still the full percentage of 100%.
Anyone knows a plugin or has a handy snippet?
Thx in advance!
Take a look at this:
http://jqueryui.it/demos/slider
精彩评论