Just to raise another point, sometime last week I reported a couple of issues with animate to % unit values as follows:
“ I Assume the flowing to be correct syntax: $('#myDiv').animate({top:'-25.5%'}) However in the case above, the animate function simply makes the result in px, so the objects style ends up with : "top: 25.5px". I actually sent a query to John Resig on twitter about this and recieved a DM reply telling me to try for example: $('#myDiv').animate({top:'-=25%'}) However this just seems to set the resulting style to 0px regardless of the objects start position, percentage or its -=, += notation. “ However the GX framework project handles % unit animation without any problems running the same tests above. Adam. From: jquery-dev@googlegroups.com [mailto:jquery-...@googlegroups.com] On Behalf Of Paul Bakaus Sent: 13 March 2009 22:45 To: jquery-dev@googlegroups.com Subject: [jquery-dev] Re: GX animation framework The only difference is that it handles properties with multiple values. Everything else can be done with jQuery UI + jQuery. On Fri, Mar 13, 2009 at 3:39 PM, Jörn Zaefferer <joern.zaeffe...@googlemail.com> wrote: See http://ajaxian.com/archives/gx-a-new-animation-framework Would someone with a better understanding of jQuery's and jQuery UI's animation features mind taking a look to see what that framework actually adds that we don't already support out of the box? Eg. relative animations are promoted, I'm pretty sure we have them already. In any case, we may need better animation documentation. Jörn -- Paul Bakaus UI Architect -- http://paulbakaus.com http://www.linkedin.com/in/paulbakaus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---