aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorTodd Parker <fg.todd@gmail.com>2008-12-30 20:40:41 +0000
committerTodd Parker <fg.todd@gmail.com>2008-12-30 20:40:41 +0000
commit04069424ced0b329d8335afcfba6a93de1181dea (patch)
tree906e089a5a024107d851064ae470008fd94303f2 /demos
parent56727f40c010c974645c9d9a79914d1b273bad86 (diff)
downloadjquery-ui-04069424ced0b329d8335afcfba6a93de1181dea.tar.gz
jquery-ui-04069424ced0b329d8335afcfba6a93de1181dea.zip
Added new resizable slider example
Diffstat (limited to 'demos')
-rw-r--r--demos/progressbar/default.html18
-rw-r--r--demos/progressbar/index.html1
-rw-r--r--demos/progressbar/resize.html45
3 files changed, 63 insertions, 1 deletions
diff --git a/demos/progressbar/default.html b/demos/progressbar/default.html
index 470fdc2f8..5a53999a7 100644
--- a/demos/progressbar/default.html
+++ b/demos/progressbar/default.html
@@ -17,7 +17,23 @@
</head>
<body>
-<div id="progressbar"></div>
+<div class="demo">
+
+ <div id="progressbar"></div>
+
+</div><!-- End demo -->
+
+
+
+<div class="demo-description">
+
+<p>This is the default determinate progress bar that is used to provide the current % complete status of a process. If the actual percent complete status cannot be calculated, an indeterminate progress bar (coming soon) or spinner animation is a better way to provide user feedback.</p>
+
+<p>The progressbar plugin accepts a single option of Value which can be updated programmatically to animate the bar.</p>
+
+</div><!-- End demo-description -->
+
+
</body>
</html>
diff --git a/demos/progressbar/index.html b/demos/progressbar/index.html
index f517f244d..9cc4209bc 100644
--- a/demos/progressbar/index.html
+++ b/demos/progressbar/index.html
@@ -10,6 +10,7 @@
<h4>Progressbar</h4>
<ul>
<li class="demo-config-on"><a href="default.html">Default</a></li>
+ <li class="demo-config-on"><a href="resize.html">Resizable</a></li>
</ul>
</div>
diff --git a/demos/progressbar/resize.html b/demos/progressbar/resize.html
new file mode 100644
index 000000000..c50a75bdf
--- /dev/null
+++ b/demos/progressbar/resize.html
@@ -0,0 +1,45 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Progressbar - Resize Demo</title>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
+ <script type="text/javascript" src="../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../ui/ui.progressbar.js"></script>
+ <script type="text/javascript" src="../../ui/ui.resizable.js"></script>
+
+ <script type="text/javascript">
+ $(function() {
+ $("#progressbar").progressbar({
+ value: 37
+ });
+ });
+ $(function() {
+ $("#progressbarWrapper").resizable({
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+ <div id="progressbarWrapper" style="height:10px; padding:2px;" class="ui-widget-default">
+ <div id="progressbar" style="height:100%;"></div>
+ </div>
+
+</div><!-- End demo -->
+
+
+
+<div class="demo-description">
+
+<p>Since the progress bar is coded in percentages for flexible sizing, it will resize to fit whatever block it's placed inside. Try resizing the height and width of this bar to see how it maintains the correct proportions.</p>
+
+</div><!-- End demo-description -->
+
+
+
+</body>
+</html>