My quick and dirty first version of a vertical progressbar.
It's not the most clean code, but I'm not a jQuery Core developer :)
New css classes :
- /* Progressbar
- ----------------------------------*/
- .ui-progressbar {text-align: left; }
- .ui-progressbar .ui-progressbar-value {margin: -1px;}
- .ui-progressbar-horizontal .ui-progressbar-value { height: 100%; }
- .ui-progressbar-vertical .ui-progressbar-value { width: 100%; }
- .ui-progressbar-horizontal { height: 2em; }
- .ui-progressbar-vertical { width: 2em;}
You use it like this
- <style type="text/css">
- #progressbar{
- height : 200px;
- }
- </style>
- <script type="text/javascript">
- $(document).ready(function(){
- $('#progressbar').progressbar({
- value : 30,
- orientation : 'vertical'
- });
- });
- </script>
I changed the 1.8.2 developer bundle for the progressbar.
See attachment.
Maybe other developers can help for a more clean and stable solution.