andreruffert / rangeslider.js

🎚 HTML5 input range slider element jQuery polyfill
https://rangeslider.js.org
MIT License
2.16k stars 399 forks source link

turn rangeslider element 180 degree #269

Closed cojaco closed 7 years ago

cojaco commented 7 years ago

Hello,

thanks for this cool plugin.

One question is it somehow possible to turn the slider by 180degree?

What I want to achive is a vertical slider where 0% is at the top and 100% at the bottom.

(I tried transform: rotate(180deg), but that dosenst work, because then the mouse y position is wrong )

andreruffert commented 7 years ago

rangeslider.js supports vertical orientation.

http://rangeslider.js.org/#usage

https://codepen.io/andreruffert/pen/meeOav

cojaco commented 7 years ago

yes, I know, but is there also a way to turn the slider by 180 degree?

I mean by default 100% is when the slider is up and 0% is when its down. But I wan't it the other way arround. 100% should be represented when the handle is down.