Comments on: Fun with jQuery’s “animate()” https://j11y.io/javascript/fun-with-jquerys-animate/ Sun, 22 Mar 2015 15:39:22 +0000 hourly 1 https://wordpress.org/?v=5.0.13 By: tamilmovie https://j11y.io/javascript/fun-with-jquerys-animate/#comment-1198 Sun, 07 Mar 2010 13:49:52 +0000 https://j11y.io/?p=1041#comment-1198 I love jquery animations

]]>
By: Stephen Band https://j11y.io/javascript/fun-with-jquerys-animate/#comment-1197 Tue, 01 Dec 2009 19:51:05 +0000 https://j11y.io/?p=1041#comment-1197 I just noticed that if you try animating an object with multiple properties, the step function is called for every increment of every property. This wasn’t quite what I was expecting. I was kind of expecting the step function to be called every time the entire object was updated (ie. one step in time).

The step function appears to be passed two arguments: the current value of the current property, and an object that holds some info about the object being animated. I’m trying to think of a neat way to detect, inside the step function, when all the properties have been updated, so I can trigger a callback on per frame rather than per step.

I just want to ask you in case you’ve already run into this and have any neat ideas?

Cheers!

]]>
By: fdask https://j11y.io/javascript/fun-with-jquerys-animate/#comment-1196 Fri, 30 Oct 2009 23:59:47 +0000 https://j11y.io/?p=1041#comment-1196 Hey James! Nice article here. Your first example with the animate function immediately made me think of using it for more than just visual effects. Perhaps some sort of timing log or something along those lines.

Definitely something I’ll explore in my own code.

Cheers!

]]>
By: Phil https://j11y.io/javascript/fun-with-jquerys-animate/#comment-1195 Sun, 27 Sep 2009 02:38:48 +0000 https://j11y.io/?p=1041#comment-1195 Thanks for the tips. I love jQuery and its always good to learn something new.

Cheers

]]>
By: Mayur https://j11y.io/javascript/fun-with-jquerys-animate/#comment-1194 Sat, 12 Sep 2009 06:14:55 +0000 https://j11y.io/?p=1041#comment-1194 Thank you for sharing this information
……

]]>
By: Hassan https://j11y.io/javascript/fun-with-jquerys-animate/#comment-1193 Sun, 30 Aug 2009 14:29:24 +0000 https://j11y.io/?p=1041#comment-1193 […نوشته‌ای از James Padolsey برای پویانمایی خاصیت‌های اشیا…]

]]>
By: 9swords https://j11y.io/javascript/fun-with-jquerys-animate/#comment-1192 Sun, 30 Aug 2009 05:01:20 +0000 https://j11y.io/?p=1041#comment-1192 Really cool, i am using the Flock browser and linear is by far the smoothest animation and easiest on the eyes.
I should take into consideration that the box is “easing down” with an image in it, and wouldn’t be doing so in every situation. Thanks for this.

]]>
By: Webstandard-Team https://j11y.io/javascript/fun-with-jquerys-animate/#comment-1191 Tue, 28 Jul 2009 07:17:45 +0000 https://j11y.io/?p=1041#comment-1191 Nice small Tutorial James! If you are interested in more jQuery, you don’t have to miss the following two articles: “Creative Image-Galleries by jQuery” or “jQuery – The easy way to navigate”

]]>
By: Adrian Westlake https://j11y.io/javascript/fun-with-jquerys-animate/#comment-1190 Mon, 27 Jul 2009 15:16:45 +0000 https://j11y.io/?p=1041#comment-1190 I created my own little take on JQuery animate() function. Pointless but fun 🙂 http://playground.adrianwestlake.com/jquery/hello/

]]>
By: Live-Dimension https://j11y.io/javascript/fun-with-jquerys-animate/#comment-1189 Mon, 27 Jul 2009 12:42:10 +0000 https://j11y.io/?p=1041#comment-1189 That demo is pretty neat, took me a short while to figure out what was going on exactly. It will be useful on the next project that I use spiffy JQuery UI on.

]]>