Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#742 closed bug (invalid)

Animate with opacity doesn't hold inline style values

Reported by: [email protected] Owned by:
Priority: minor Milestone:
Component: effects Version:
Keywords: Cc:
Blocked by: Blocking:

Change History (1)

comment:1 Changed 16 years ago by brandon

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);

Note: See TracTickets for help on using tickets.