Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5808 closed bug (notabug)

IE6: New class styles not applied with switchClass and addClass

Reported by: lduros Owned by:
Priority: major Milestone:
Component: ui.effects.core Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Description

$(elem).switchClass('oldclass', 'newclass', 100); does not apply the new styles to the element when viewing page on Internet Explorer 6: http://jtester.webfreehosting.net/test/test.html

See example above. The original class has a margin-left of 10px, and the class applied has a margin-left of 800px. While it will work on all browsers, it does not on IE6. At the end of the animation, in IE6, the margin-left is set as "auto". As a result, the element does not move or change.

Change History (2)

comment:1 Changed 9 years ago by Scott González

Component: ui.coreeffects.core
Resolution: invalid
Status: newclosed

IE6 doesn't understand chained CSS rules, so it doesn't see your rule defined with #myDiv.right.

comment:2 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.