The problem is on all css properties that have a string as property. I have thought about that in my implementation..
Currently, only the styles that can be set by integer are animated (animate() can only handle these anyway).
After animation however, the hardcoded styles from the animation are removed and replaced by setting the original class. That way, your properties are all there at the end of the animation.
By the way, changing display block to display inline our vice versa WILL actually be animated because the computed width and height changes. Cool eh? ;-)
I will think about the border thing..but I thought no one would try to even think about a animation between a solid and a dotted border...If you have a nice implementation, please tell me!
See ya!
2006/11/7, Christof Donat <[EMAIL PROTECTED]>:
Hi,
> > To do that you at least need to define a point in time when these
> > attributes will be changed during the Animation - I'd suggest in the
> > middle.
>
> Or you could go crazy and layer an identical element over the top of the
> original one and as one element fades out the other one fades in. It's a
> bit more complicated than that but that's the base.
That would work for the border-style, but not e.g. for display. Anyway, I'm
looking forward to see what Paul does about that problem. It would
definatelly be cool to use class names for animation.
Christof
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Paul Bakaus
Web Developer
------------------------
Hildastr. 35
79102 Freiburg
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
