jQuery UI Progressbar - Animated : UI Progessbar « jQuery « JavaScript Tutorial






<!--
  jQuery UI Effects Blind 1.7.2
 
  Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
  Dual licensed under the MIT (MIT-LICENSE.txt)
  and GPL (GPL-LICENSE.txt) licenses.
 
 
-->
<!doctype html>
<html lang="en">
<head>
  <title>jQuery UI Progressbar - Animated</title>
  <link type="text/css" href="js/themes/base/ui.all.css" rel="stylesheet" />
  <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
  <script type="text/javascript" src="js/ui/ui.core.js"></script>
  <script type="text/javascript" src="js/ui/ui.progressbar.js"></script>
  <link type="text/css" href="js/demos.css" rel="stylesheet" />
  <style type="text/css">
    .ui-progressbar-value { background-image: url(images/pbar-ani.gif); }
  </style>
  <script type="text/javascript">
  $(function() {
    $("#progressbar").progressbar({
      value: 59
    });
  });
  </script>
</head>
<body>

<div class="demo">

<div id="progressbar"></div>

</div><!-- End demo -->

<div class="demo-description">

<p>
This progressbar has an animated fill by setting the
<code>background-image</code>
on the
<code>.ui-progressbar-value</code>
element, using css.
</p>

</div><!-- End demo-description -->

</body>
</html>








30.145.UI Progessbar
30.145.1.jQuery UI Progressbar - Resizable
30.145.2.jQuery UI Progressbar - Default functionality
30.145.3.jQuery UI Progressbar - Animated