views:

28

answers:

0

I have it set to step between values, and each value represents some information that is displayed. I want it to be more fluid, though. How would I go about having it so that when you slide the slider, it isn't in steps, but still changes "slides".

Current code:

$(function() {
    $("#slider").slider({
        min: 1,
        max: 5,
        value: 1,
        slide: function(event, ui) {
            $("#slide-content div").hide();
            $("#slide-content #slide-" + ui.value).fadeIn(1200);
        }
    });
});