diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-10-20 19:58:47 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-10-20 19:58:47 +0000 |
commit | cef5e6f346d8a8f18bc1d3bf672783c1c7c39116 (patch) | |
tree | 85d9810359c6ca85fc9ebe44125c603d0ec93d27 | |
parent | 7f3e20b2b2151041b5f0edc1a8efcbb2500f1fb8 (diff) | |
download | jquery-ui-cef5e6f346d8a8f18bc1d3bf672783c1c7c39116.tar.gz jquery-ui-cef5e6f346d8a8f18bc1d3bf672783c1c7c39116.zip |
progressbar: enhanced visual test
-rw-r--r-- | tests/visual/progressbar/default.html | 12 |
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> |