It's hard to say what all the reasons are. Some aspects of jQuery that I am
aware of:
jQuery creates a new fx object for each property being animated. So...
$myDiv.animate({
height: 100,
width: 100,
top: 10,
left: 10
});
...creates *four* fx objects. jQuery also sets an element's "display"
property to "block" on *each* step of the animation if animating the height
or width. What happens if you're animating both? Well since each fx object
is separate, you are setting the display *twice* on each step.
Some positives:
* jQuery uses a unified timer. (MooTools 2.0 adopts this practice)
* jQuery relative animations are pretty nice, as in where you specify
"+=100px".
On Sat, Dec 5, 2009 at 6:01 AM, Acaz Souza <[email protected]> wrote:
> Why mootools animations is more smooth than jquery animations?
>