#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 13 years ago by
Component: | ui.core → effects.core |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
IE6 doesn't understand chained CSS rules, so it doesn't see your rule defined with #myDiv.right.