diff options
author | kborchers <kris.borchers@gmail.com> | 2012-03-26 21:51:16 -0500 |
---|---|---|
committer | Kris Borchers <kris.borchers@gmail.com> | 2012-11-21 21:48:17 -0600 |
commit | d3bc471688047d3c2dda3335dd642b724794070b (patch) | |
tree | d01bdb5123839618a79cefb670466886a869de24 /demos/progressbar/animated.html | |
parent | 509259a66e28aad3f574fb77a06ceb201a271698 (diff) | |
download | jquery-ui-d3bc471688047d3c2dda3335dd642b724794070b.tar.gz jquery-ui-d3bc471688047d3c2dda3335dd642b724794070b.zip |
Progressbar: Add ability to set value: false for an indeterminate progressbar. Fixes #7624 - Progressbar: Support value: false for indeterminate progressbar
Diffstat (limited to 'demos/progressbar/animated.html')
-rw-r--r-- | demos/progressbar/animated.html | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/demos/progressbar/animated.html b/demos/progressbar/animated.html index f03070571..5cb1872ed 100644 --- a/demos/progressbar/animated.html +++ b/demos/progressbar/animated.html @@ -9,14 +9,11 @@ <script src="../../ui/jquery.ui.widget.js"></script> <script src="../../ui/jquery.ui.progressbar.js"></script> <link rel="stylesheet" href="../demos.css"> - <style> - .ui-progressbar .ui-progressbar-value { background-image: url(images/pbar-ani.gif); } - </style> <script> $(function() { $( "#progressbar" ).progressbar({ value: 59 - }); + }).find( ".ui-progressbar-value div" ).addClass( "ui-progressbar-overlay" ); }); </script> </head> @@ -27,10 +24,10 @@ <div class="demo-description"> <p> This progressbar has an animated fill by setting the -<code>background-image</code> +<code>ui-progressbar-overlay</code> class on the <code>.ui-progressbar-value</code> -element, using css. +element's overlay div. </p> </div> </body> |