Klaus Hartl schrieb:
> Hi,
>
> today I wanted to add to the tabs plugin the possibility to define your
> own animation for the tab switch.
>
> Like:
>
> $('#container-8').tabs({fxAnimate: [{height: 'show', opacity: 'show'},
> {height: 'hide', opacity: 'hide'}]});
>
> There is a strange bug although. It works on the first click, but throws
> an error on subsequent clicks.
>
> I found out, that the value of fxAnimate[0].show is converted to a
> boolean and therefore the error occurs.
Forget about that, it seems, that the object is changed by design... I
simply pass in a copy of the original animate object.
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/