diff options
author | Richard Worth <rdworth@gmail.com> | 2008-12-05 15:42:46 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-12-05 15:42:46 +0000 |
commit | 31a11f073d9428c77296e7552e7ea6a75432eb5d (patch) | |
tree | cd86139b3ed052adef57d40ed3dc321042ab57d1 /tests | |
parent | d55c733e41ba9493126b5cb512a8dd347a1d4c31 (diff) | |
download | jquery-ui-31a11f073d9428c77296e7552e7ea6a75432eb5d.tar.gz jquery-ui-31a11f073d9428c77296e7552e7ea6a75432eb5d.zip |
progressbar: a little clean up and some more visual tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/visual/progressbar.html | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/tests/visual/progressbar.html b/tests/visual/progressbar.html index 12486a8c7..eba1f71dc 100644 --- a/tests/visual/progressbar.html +++ b/tests/visual/progressbar.html @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Language" content="en" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>ProgressBar Test Page</title> +<title>jQuery UI Progressbar Visual Tests</title> <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> @@ -23,23 +23,28 @@ <script type="text/javascript"> $(function() { $("#progressbar1").progressbar({ value: 6 }); - $("#progressbar2").progressbar({ labelAlign: 'center', label: 'center' }); - $("#progressbar3").progressbar().progressbar("option", "labelAlign", "right").progressbar("value", 90).data("label.progressbar", "right"); + $("#progressbar2").progressbar({ labelAlign: 'center', label: 'center' }).progressbar("option", "value", 50); + $("#progressbar3").progressbar().progressbar("option", "labelAlign", "right").progressbar("value", 90.73).data("label.progressbar", "right").progressbar("option", "label", true); + $("#progressbar4").progressbar().progressbar("destroy"); + $("#progressbar5").progressbar({ value: -10 }); + $("#progressbar6").progressbar().progressbar("value", 200); }); </script> </head> <body> -<ul class="plugins"> -<li> - Progressbar +<h1>jQuery UI Progressbar Visual Tests</h1> <div id="progressbar1"></div> - <hr> + <br> <div id="progressbar2"></div> - <hr> + <br> <div id="progressbar3"></div> -</li> -</ul> + <br> + <div id="progressbar4"></div> + <br> + <div id="progressbar5"></div> + <br> + <div id="progressbar6"></div> </body> </html> |