By gst
via jquery.com
Published: Sep 17 2007 / 07:55
Important Changes ---
Relative Animations:
There was a serious error in the API for the new relative animations that caused a conflict with existing animation styles. To resolve this, in order to do a relative animation, you must now use the following syntax:
$(...).animate({ height: "+=50px", width: "-=20%", fontSize: "+=2em" });
With += meaning “Add to the current position” and -= meaning “Take away from the current position”.
---
.eq() :
Due to some very-persuasive arguments, and a great deal of reconsideration, .eq() has been brought back. A great number of plugins rely on this single method - and the alternative provided by .slice() simply wasn’t as elegant a solution as what was originally provided.
Add your comment