# Progressbar
Open me!
Demo View | Source Code (opens new window) | Download all widgets
Assets:
Images:
JavaScripts:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../core/lib/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../core/lib/ui/libs/jquery.ui.core.min.js"></script>
<script type="text/javascript" src="../core/lib/ui/libs/jquery.ui.widget.min.js"></script>
<script type="text/javascript" src="../core/lib/ui/libs/jquery.ui.progressbar.min.js"></script>
<script type="text/javascript" src="progressbar.js"></script>
<link type="text/css" rel="stylesheet" href="../core/lib/ui/css/ui-lightness/jquery-ui-1.8.16.custom.css">
<link type="text/css" rel="stylesheet" href="style.css">
<title>Progressbar</title>
</head>
<body>
<h1>Progressbar</h1>
<div id="progressbar"></div>
</body>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#progressbar {
-moz-border-radius: 0px;
-webkit-border-bottom: 0px;
-khtml-border-bottom: 0px;
border-radius:0px;
border:0px;
width:185px;height:21px;
background:none;
background:url("../core/images/progress_men_1.png") repeat-x;
}
#progressbar * {
-moz-border-radius: 0px;
-webkit-border-bottom: 0px;
-khtml-border-bottom: 0px;
border-radius:0px;
border:0px;
}
#progressbar .ui-progressbar-value {
background:none;
background:url("../core/images/progress_men_0.png") repeat-x;
height:21px;
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$(function() {
$( "#progressbar" ).progressbar({
value: 37
});
});
1
2
3
4
5
6
2
3
4
5
6
// Make sure to add code blocks to your code group