Mar 17, 2014 in Slideshow 3017 views
jQuery plugin that allows you to easily make sliders for range inputs
<link rel="stylesheet" type="text/css" href="slideControl.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> <script type="text/javascript" src="jquery.slideControl.js"></script> <script type="text/javascript"> $(document).ready(function() { $('.slideControl').slideControl(); }); </script>
<ul> <li><label>Responsiveness: </label><input type="text" value="6.0" class="slideControl" /></li> <li><label>Safety: </label><input type="text" value="4.0" class="slideControl" /></li> <li><label>Information: </label><input type="text" value="9.0" class="slideControl" /></li> </ul>
The CSS file included should be pretty straight-forward. You can change the look of your slide controllers in there from background color to size to how the handle looks. Just take a look around and it should be pretty easy to make changes.
You are free to use the slideControl.js plugin however you want. Credit is nice, but not required
Tagged with:
slider
form
elements
controls
easily
ranger
ranger input
input slide
slidecontrol.js
Related Articles