Bootstrup enhanced jQuery slider plug-in, bootstrupjquery
This is a jQuery slider plug-in that has a very cool effect on the basis of the native bootstrup slider. The slider plug-in can customize the color, shape, transparency, tooltip, and other attributes of the slider. The Beautification effect is very good.
This bootstrup slider plug-in does not depend on jquery. It can also be operated in pure js mode.
Bootstrap-slider as the jQuery plug-in version
var mySlider = $("input.slider").slider(); <pre name="code" class="javascript">// Instantiate a slidervar mySlider = new Slider("input.slider", { // initial options object}); // Call a method on the slidervar value = mySlider.getValue();<strong style="font-family: Arial, Helvetica, sans-serif;"> </strong>
Use native js to call bootstrup slider
// Instantiate a slidervar mySlider = new Slider("input.slider", { // initial options object}); // Call a method on the slidervar value = mySlider.getValue(); // For non-getter methods, you can chain together commandsmySlider .setValue(5) .setValue(7);
Online Demo: http://www.htmleaf.com/Demo/201502041325.html
: Http://www.htmleaf.com/jQuery/Form/201502041324.html