what is the correct way to resize the slide handler? - any one show me in fiddle?
I made a scroller bar, and resized the handler, it very bad... how can i resize the handler with correct way any one have a look here and help me?
my codes:
- $(function() {
- $('#sample').slider({orientation:'vertical'});
- });
css:
- .ui-slider {
- position: relative;
- height: 300px;
- width: 20px;
- line-height: 20px;
- border-radius: 2em;
- background: #CCC;
- margin-left:50px;
- }
- .ui-slider-handle.ui-state-default {
- display: block;
- cursor: move;
- height:100px;
- margin-left:4px;
- margin-top:0.2em;
- background: #333
- }