Sure Rey ;-)

Maybe my email was a bit too enthusiastic. Don't get me wrong, I'm not talking about the script itself, of course it has some problems and drawbacks and whatelse. And I really like the way of jQuery animating styles.

It's all about the method.

Having a div-element with a certain style, then the jQuery way could be like this:

1.) $("#mydiv").animateStyle("background-color: #eee; border: 1px solid black; opacity: 0.5;");
->If only one param given, this function animates from the current style of the element, to the one given into the function.

2) $("#mydiv").animateStyle(old, new);
->animate from one style to the second

but now my own killer feature :D

3.) $("#mydiv").animateClass(oldClass, newClass); -or- $("#mydiv").animateClass(newClass);
->So you change the class of the object, but you animate the change.

Waiting for comments!

2006/11/6, Rey Bango <[EMAIL PROTECTED]>:
If all the animation features are in jQuery standalone, then I'm onboard
with Dan.

What would be good, though, is if a page showing this being done in
jQuery was created. Paul, are you up for that challenge? :o)

Rey...

> Paul Bakaus wrote:
>
>>Hey guys,
>>
>>has someone seen this at ajaxian? Check it out:
>>http://berniecode.com/writing/animator.html
>>This is probably the most sexiest animate lib I've ever seen in my life.
>>Porting this to jQuery would be the PERFECT addition to jQuery's css
>>parsing
>>possiblities.
>>
>>What do you think?
>>
>>--
>>Paul Bakaus
>>Web Developer
>>------------------------
>>Hildastr. 35
>>79102 Freiburg
>>
>>_______________________________________________
>>jQuery mailing list
>>discuss@jquery.com
>>http://jquery.com/discuss/
>>
>>
>
>

_______________________________________________
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