Hi guys, i am trying to get the slider event to fire when the jquery animates the handle on load but whatever i try i cant figure it out. Hope you can help. Gaz

DEMO

JS

PHP Code:
$("#slider").slider({
    
animate"slow",
    
value0,
    
max100,
    
min0,
    
step0.01,
    
slide: function (eventslider) {


        $(
'#vardiv').css('height'slider.value 100 6000);
        $(
'#vardiv').css('max-height'180);
        $(
'#vardiv1').css('height'slider.value 100 90);
        $(
'#vardiv2').css('height'slider.value 100 20);
        $(
'#vardiv3').css('height'slider.value 100 40);
        $(
'#vardiv4').css('height'slider.value 100 70);

    }

});

$(
"#slider").ready(function () {
    $(
'.ui-slider-handle').animate({
        
left'27'
    
}, 2000'linear').animate({
        
left'70'
    
}, 1500'linear').animate({
        
left'270'
    
}, 2000'linear');
});