aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-10-20 19:58:47 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-10-20 19:58:47 +0000
commitcef5e6f346d8a8f18bc1d3bf672783c1c7c39116 (patch)
tree85d9810359c6ca85fc9ebe44125c603d0ec93d27 /tests
parent7f3e20b2b2151041b5f0edc1a8efcbb2500f1fb8 (diff)
downloadjquery-ui-cef5e6f346d8a8f18bc1d3bf672783c1c7c39116.tar.gz
jquery-ui-cef5e6f346d8a8f18bc1d3bf672783c1c7c39116.zip
progressbar: enhanced visual test
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/progressbar/default.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/visual/progressbar/default.html b/tests/visual/progressbar/default.html
index acd63cf69..2f801b79c 100644
--- a/tests/visual/progressbar/default.html
+++ b/tests/visual/progressbar/default.html
@@ -9,13 +9,21 @@
<script type="text/javascript" src="../../../ui/jquery.ui.progressbar.js"></script>
<script type="text/javascript">
$(function() {
- $("#progressbar").progressbar();
+ var bars = $("#progressbar1, #progressbar2, #progressbar3").progressbar();
+
+ $("#progress").keyup(function() {
+ bars.progressbar("value", +this.value);
+ }).keyup();
});
</script>
</head>
<body>
-<div id="progressbar"></div>
+<div id="progressbar1"></div>
+<div id="progressbar2" style="width:300px"></div>
+<div id="progressbar3" style="width:100px"></div>
+
+<input id="progress" value="10" />
</body>
</html>