Skip to main content

Bug Tracker

Side navigation

#742 closed bug (invalid)

Opened December 26, 2006 10:15PM UTC

Closed January 09, 2007 03:41AM UTC

Last modified June 20, 2007 03:12AM UTC

Animate with opacity doesn't hold inline style values

Reported by: rsoule@gmail.com Owned by:
Priority: minor Milestone:
Component: effects Version:
Keywords: Cc:
Blocked by: Blocking:
Attachments (0)
Change History (1)

Changed January 09, 2007 03:41AM UTC by brandon comment:1

resolution: → invalid
status: newclosed

This is the correct behavior. You are using a 'show' action/value for the opacity. Anytime a 'show' or 'hide' action/value is used, the inline styles (except display) will be removed.

Please use the following instead:

$("#animateMe1").css('opacity', 0).animate({ left: 350, opacity: 1}, 600);