Slider is initialized with animate and event-functions but they got lost by using methods

Slider is initialized with animate and event-functions but they got lost by using methods


Hi,
I'm using the current version of Slider (jQuery 1.3.2 and jQuery UI
1.7.1) - I've initialized my Slider by following code:
var min = 2000;
var max = 2009;
$("#slider").slider({
    animate: true,
    min:    min,
    max:    max,
    change: function(event, ui) {
        $("#timeline_years li[class*='year']").removeClass("active");
        $("#timeline_years li.year"+ui.value).addClass("active");
    },
    slide: function(event, ui) {
        $("#timeline_years li[class*='year']").removeClass("active");
        $("#timeline_years li.year"+ui.value).addClass("active");
    },
    stop: function(event, ui) {
        changeInfo(ui.value);
    }
});
this works all fine inside the slider area.
BUT when I want to control the slider outside the slider area like:
$("#outsideSlider").click(function(){
    $("#slider").slider('value',min);
});
My indicator will move directly to the choosen value, but without any
initialized option, that means no animation and no event function.
So what can I do to get these information?
I tried also to reinitialize all these options with:
$("#outsideSlider").click(function(){
    $("#slider").slider({
        animate: true,
        min:    min,
        max:    max,
        value:    min,
        change: function(event, ui) {
            $("#timeline_years li[class*='year']").removeClass("active");
            $("#timeline_years li.year"+ui.value).addClass("active");
        },
        slide: function(event, ui) {
            $("#timeline_years li[class*='year']").removeClass("active");
            $("#timeline_years li.year"+ui.value).addClass("active");
        },
        stop: function(event, ui) {
            changeInfo(ui.value);
        }
    });
});
but it doesn't work either - no reaction, no moving, nothing. With $
("#slider").slider({'option',{...}); it will move, but also without
animation and without any event-function.
Is it a bug - or what can I do?
Thanx and greetings,
Lee