If floats are desired instead of pips, we can call the float
method in place of pips
:
<!-- Your HTML must have an element to reference, here we've created a div with the class "slider" to reference in jQuery --> <div class="slider"></div>
// we still select the jQuery element from the HTML like before, // but now we supply the float method instead of pips. $(".slider").slider().slider("float");