aboutsummaryrefslogtreecommitdiff
path: root/static/development-bundle/demos/progressbar/resize.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/development-bundle/demos/progressbar/resize.html')
-rw-r--r--static/development-bundle/demos/progressbar/resize.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/static/development-bundle/demos/progressbar/resize.html b/static/development-bundle/demos/progressbar/resize.html
new file mode 100644
index 0000000..d1c53af
--- /dev/null
+++ b/static/development-bundle/demos/progressbar/resize.html
@@ -0,0 +1,37 @@
1<!doctype html>
2<html lang="en">
3<head>
4 <title>jQuery UI Progressbar - Resizable</title>
5 <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
6 <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
7 <script type="text/javascript" src="../../ui/ui.core.js"></script>
8 <script type="text/javascript" src="../../ui/ui.progressbar.js"></script>
9 <script type="text/javascript" src="../../ui/ui.resizable.js"></script>
10 <link type="text/css" href="../demos.css" rel="stylesheet" />
11 <script type="text/javascript">
12 $(function() {
13 $("#progressbar").progressbar({
14 value: 37
15 });
16 $("#progressbarWrapper").resizable();
17 });
18 </script>
19</head>
20<body>
21
22<div class="demo">
23
24 <div id="progressbarWrapper" style="height:30px; " class="ui-widget-default">
25 <div id="progressbar" style="height:100%;"></div>
26 </div>
27
28</div><!-- End demo -->
29
30<div class="demo-description">
31
32<p>The progress bar's widths are specified in percentages for flexible sizing so it will resize to fit its container. Try resizing the height and width of this bar to see how it maintains the correct proportions. (This is not necessarily a real-world example, but it's a good illustration of how flexibly all the plugins are coded.)</p>
33
34</div><!-- End demo-description -->
35
36</body>
37</html>