STYLE SWITCHER

Next/Previous click jQuery UI

jquery-ui-logo

$(function() {

    $('#slider').slider({ change: alertValue });

    $("#down").click(function() {
      var s = $("#slider"), val = s.slider("value"), step = s.slider("option", "step");
      s.slider("value", val - step);
    });
    $("#up").click(function() {
      var s = $("#slider"), val = s.slider("value"), step = s.slider("option", "step");
      s.slider("value", val + step);
    });

});

Recent Article

Leave a Reply

Your email address will not be published. Required fields are marked *