Bug Tracker


Ticket #742 (closed bug: invalid)

Opened 7 years ago

Last modified 7 years ago

Animate with opacity doesn't hold inline style values

Reported by: rsoule@… Owned by:
Priority: minor Milestone:
Component: effects Version:
Keywords: Cc:
Blocking: Blocked by:

Change History

comment:1 Changed 7 years ago by brandon

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.