Skip to content

Commit

Permalink
progressbar: enhanced visual test
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Oct 20, 2009
1 parent 7f3e20b commit cef5e6f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/visual/progressbar/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit cef5e6f

Please sign in to comment.