1 |
5703
|
leinfelder
|
<!DOCTYPE html>
|
2 |
|
|
<html lang="en">
|
3 |
|
|
<head>
|
4 |
|
|
<meta charset="utf-8">
|
5 |
|
|
<title>jQuery UI Progressbar - Animated</title>
|
6 |
|
|
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
7 |
|
|
<script src="../../jquery-1.4.3.js"></script>
|
8 |
|
|
<script src="../../ui/jquery.ui.core.js"></script>
|
9 |
|
|
<script src="../../ui/jquery.ui.widget.js"></script>
|
10 |
|
|
<script src="../../ui/jquery.ui.progressbar.js"></script>
|
11 |
|
|
<link rel="stylesheet" href="../demos.css">
|
12 |
|
|
<style>
|
13 |
|
|
.ui-progressbar-value { background-image: url(images/pbar-ani.gif); }
|
14 |
|
|
</style>
|
15 |
|
|
<script>
|
16 |
|
|
$(function() {
|
17 |
|
|
$( "#progressbar" ).progressbar({
|
18 |
|
|
value: 59
|
19 |
|
|
});
|
20 |
|
|
});
|
21 |
|
|
</script>
|
22 |
|
|
</head>
|
23 |
|
|
<body>
|
24 |
|
|
|
25 |
|
|
<div class="demo">
|
26 |
|
|
|
27 |
|
|
<div id="progressbar"></div>
|
28 |
|
|
|
29 |
|
|
</div><!-- End demo -->
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
<div class="demo-description">
|
34 |
|
|
<p>
|
35 |
|
|
This progressbar has an animated fill by setting the
|
36 |
|
|
<code>background-image</code>
|
37 |
|
|
on the
|
38 |
|
|
<code>.ui-progressbar-value</code>
|
39 |
|
|
element, using css.
|
40 |
|
|
</p>
|
41 |
|
|
</div><!-- End demo-description -->
|
42 |
|
|
|
43 |
|
|
</body>
|
44 |
|
|
</html>
|