Hi,

> The problem is on all css properties that have a string as property.

Colors can also be strings ('red', 'white', etc.). But I guess that can easily 
be resolved by a simple table: 

var colorstrings = {
        red: [255,0,0],
        white: [255,255,255],
        black: [0,0,0],
        ...
}

> 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? ;-)

It also changes the floating of the element and the starting point. Let's have 
a browser display like this (I wrote the tag):

asdf <b>jkl</b> asdf

Now I want to have this as a block-element so it should change to a display 
like this:

asdf
<b>jkl</b>
asdf

You don't get that animated well with changing height and width.

> 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!

I think Cris' idea is not so bad. :-)

How about those expressions that IE accepts in stylesheets?

.myclass { width: expression(document.body.offsetWidth-42) }

For all capable browsers you simply do that with setting left and right:

.myclass { left:21; right:21 }

Can that be animated in all Browsers as well? How does the animation behave, 
when the browser is resized dring the animation plays.

I guess that real browsers will simply animate left and right and do that 
while resizing as well.

In IE I guess you will calculate the new size based on the window size as the 
animation starts; then you animate to that size and last not least the 
Element is resized IE according to the expression.

Christof

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to