Klaus Hartl schreef
>
> I ran into the same problem with the tabs plugin. The original object is
> modified for the animation, so as a workaround I copy the object each
> time before passing it to animate:
>
>
> $.fn.test = function(options){
> var anihide = $.extend({}, options.anihide); // copy object
> var anishow = $.extend({}, options.anishow);
> var anitime = options.anitime;
> $(img).siblings("img:visible").animate(anihide,
> anitime).end().animate(anishow, anitime);
> ;
>
> Jörn has already filed a ticket for this:
> http://jquery.com/dev/bugs/bug/237/
>
> -- Klaus
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
i was also thinking about copying the object but in a more basic version :)
var anihide = options.anihide;
var anihide2 = anihide;
$(img).siblings("img:visible").animate(anihide2,
anitime).end().animate(anishow, anitime);
;
But that didn't work and i regret to say your workaround didn't work either. :(
I downloaded the uncompressed jquery and according to firebug the error is
situated in lines 91, 344, 979, 1350, 1359, 1370 and 1380. But that is after
the anihide object is set to true so i don't know if it's useful information.
If i find another way to avoid this i will let you know.
--
David Duymelinck
________________
[EMAIL PROTECTED]
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/