Skip to main content

Bug Tracker

Side navigation

#12507 closed bug (duplicate)

Opened September 11, 2012 08:19AM UTC

Closed September 14, 2012 12:29AM UTC

.animate() does not start from existing position in v1.8.1 as it did in v1.7.x

Reported by: petersphilo Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:
Description

Hello,

in all of the v1.7.x versions of jQuery core that i used, the .animate() method starts the animation from its current position (like margin), particularly if multiple animations are applied to the same object.

Now, in v1.8.0 and v1.8.1, the .animate() method starts from the same place, regardless of the current position of the object.

Here are 2 examples; in this website, i use .animate() to slide each 'page' horizontally

here is v1.7.1 at work (click on the page titles to navigate):

http://ab-expert.fr

and now v1.8.1 (click on the page titles to navigate):

http://ab-expert.fr/index-prob.html

i hope this helps

Attachments (0)
Change History (3)

Changed September 11, 2012 08:36AM UTC by petersphilo comment:1

So Sorry, here is the ticket with at least a little bit of formatting for readability...

Hello,

in all of the v1.7.x versions of jQuery core that i used, the .animate() method starts the animation from its current position (like margin), particularly if multiple animations are applied to the same object.

Now, in v1.8.0 and v1.8.1, the .animate() method starts from the same place, regardless of the current position of the object.

Here are 2 examples; in this website, i use .animate() to slide each 'page' horizontally by changing the 'left-margin' property

here is v1.7.1 at work (click on the page titles to navigate):

http://ab-expert.fr

and now v1.8.1 (click on the page titles to navigate):

http://ab-expert.fr/index-prob.html

i hope this helps

Changed September 11, 2012 12:47PM UTC by petersphilo comment:2

_comment0: i have added another example to illustrate the difference between v1.8.x and v1.7.x[[BR]] \ (largely used the code from ticket #12504 (thank you)[[BR]] \ [[BR]] \ [http://jsfiddle.net/6mr8N/2/][[BR]] \ [[BR]] \ Hope This helps!1347367865456559

i have added another example to illustrate the difference between v1.8.x and v1.7.x

(largely used the code from ticket #12504 (thank you)

http://jsfiddle.net/petersphilo/mGkdr/

Hope This helps!

Changed September 14, 2012 12:29AM UTC by dmethvin comment:3

resolution: → duplicate
status: newclosed

Duplicate of #12447.