slide() problem

slide() problem


hi,

this code

$("div"). click(function () {
$(this).hide("slide", { direction: "down" }, 1000);
});



from here, http://docs.jquery.com/UI/Effects/Slide

is giving me following error (in both 1.3 & 1.4):



jQuery.easing[this.options.easing || (jQuery.easing.swing ? "swing" : "linear")] is not a function

I need an alternative to animate fn, b/c what I need to do is slide from one img 
to another (this is for a link; when user mouses over link need to transition
to another, wider image, need a slide effect (or something similar...) my
understanding is with animate fn you cannot effect non-numeric values, right??
(like bg-img or things like attr.src..)

why am I getting an error on above 'slide' code, that is from this site?

thank you..