Skip to main content

Bug Tracker

Side navigation

#7174 closed enhancement (duplicate)

Opened October 13, 2010 11:27AM UTC

Closed February 09, 2011 07:55PM UTC

Last modified March 15, 2012 12:12PM UTC

Animate background-position works for left but not top

Reported by: Owned by:
Priority: low Milestone:
Component: effects Version: 1.5
Keywords: Cc:
Blocked by: Blocking:

$('#obj').animate({'background-position': '20% 80%'},1000);

Only the left position animates using this method. It jumps directly to the top position then animates to the left position.

Ideally, it would move to top then left or top and left simultaneously.

Attachments (0)
Change History (4)

Changed October 13, 2010 12:14PM UTC by anonymous comment:1

Changed October 13, 2010 07:06PM UTC by snover comment:2

component: unfiledeffects
milestone: 1.4.3
priority: undecidedlow
status: newopen
type: bugenhancement

jQuery currently only animates single-value properties. You may try the background-position animate plugin.

Changed February 09, 2011 07:55PM UTC by jitter comment:3

milestone: →
resolution: → duplicate
status: openclosed

Changed February 09, 2011 07:55PM UTC by jitter comment:4

Duplicate of #7755.