The default way to use the plugin is to call the pips
method on an initialised slider. This
will add the markers along the slider, and place the min/max
values to the beginning/end of the slider:
<!-- the 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>
// to create the slider on the page we use jQuery to select the element // from the HTML and apply the .slider() method, then we apply the pips afterwards. $(".slider").slider().slider("pips");