Is there a jQuery plugin for a progress bar, such that the length of that bar depends on a number and as the number become smaller, the length becomes开发者_Go百科 shorter and vice versa?
Sounds like a progress bar. Include the relevant parts of JQuery UI, and simply do:
$("#progressbar").progressbar({ value: 42 });
This will turn a <div id="progressbar"></div>
into a almost half (42 %) colored progress bar.
It's included in jqueryui http://jqueryui.com/demos/progressbar/
Have a look at this. It is a simple article that it will do what you want.
6 jQuery Chart Plugins For Your App presents 6 fully featured plug-ins.
精彩评论