diff options
-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> |