The following is an example setup that uses jQuery UI Slider . All CSS in the background, you can customize the hell out of it.
The snap setting you can do increases and updates this value:
$("#mySlider").slider({ orientation: "vertical", range: "min", min: 0, max: 100, step: 5, slide: function(event, ui) { $("#amount").val(ui.value); } }); $("#amount").val($("#mySlider").slider("value"));
Nick craver
source share