🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

LabelSlider.js is a small jQuery plugin that convert the form labels into slider controls based on jQuery UI draggable component.

jQuery-UI input Drag Label

Documentation

Introducing LabelSlider.js

A jQuery plugin for converting form labels into Photoshop-style range slider controls for numeric and date inputs.

LabelSlider adds to your web pages the power and convenience of clicking and dragging HTML form labels to adjust values. Check out the demo page

How Do I Use It?

Include jQuery 1.x, jQuery UI 1.x and LabelSlider.js on your page and add the class, label-slider, to your labels.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js"></script> <script src="path/to/jquery.labelslider.min.js"></script> <script>   $(document).ready(function(){     // You only need to call labelSlider() yourself if you need to pass options and/or select elements instead of adding the standard .label-slider class.     // Target your label or other element containing text associated with your input     $('LABEL').labelSlider();   }); </script>

Compatible Browsers

IE6+, Chrome, Firefox, Safari, Opera.


You May Also Like