Hi Jörn,

Yeah, it would be fun, but a absolutely crap performance ;-)
Really, even animating an object with borders, margins and position changed is not very performant, and laying the clone on top, then fading it and doing to same animation on it will hurt your cpu even more. I could try it as a proof of concept of course for those who'd like it anyway ;-)

2006/11/8, "Jörn Zaefferer" <[EMAIL PROTECTED]>:
> > > - How does this work with properties like e.g. display, or
> border-style?
> > > You
> > >   can not gadually blend them.
>
> I have not found a solution for this. I don't think there can be a
> solution to
> that problem. What would you suggest as a transition from "border-style:
> solid" to "border-style: dotted", or from "display: inline" to "display:
> block"?

You could be mean and clone the element, position it above the original, set its opacity to zero, set it's class to the target class and fade it in.

In case this is possible, it would get really difficult if the size is changed at the same time, because you had to change the size (and position) of both elements at the same time.

Sounds like fun to me :-)

--
Jörn Zaefferer

http://bassistance.de
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



--
Paul Bakaus
Web Developer
------------------------
Hildastr. 35
79102 Freiburg
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to