O'Reilly logo

jQuery UI Cookbook by Adam Boduch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Giving progressbars labels

The graphical bar that changes width to reflect the progress percentage does a fine job. The power of the progressbar widget is in the ability to see, at a glance, how much progress has been made, or how much of a resource is being utilized. But there are times when we could use some accuracy with regard to the percentage, that is, a label showing the underlying percentage.

The progressbar widget has the ability to display the label inside the progressbar container, which is more intuitive than displaying the percentage label outside of the widget. Let's look at how we can extend the theme CSS, supply additional markup to the widget, and extend the progressbar to take advantage of these new additional features in order ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required