Ticket #6064 (closed bug: worksforme)
.show doesn't work on IE8
| Reported by: | robhues | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.4.2 |
| Component: | ajax | Version: | 1.4.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I have seen hints of this problem in other tickets, but the example I will upload really highlights the problem, at least with UL elements. In IE8, it seems as if the display property is not getting set properly when doing a "show", because if "display" is manually set to "block" after doing a ".show(500)", it works, although without animation.
There is a labeled line in the HTML file you can uncomment to see the workaround in action. This should give you an idea what is wrong.
The behavior works correctly in FF 3.5.7 and Safari 4.0.4, but not IE8.
Attachments
Change History
Changed 3 years ago by robhues
-
attachment
jQueryTest.zip
added
comment:2 Changed 3 years ago by robhues
More detail on this. If the element you are trying to show follows an element with display:inline, then .show(500) will NOT work, but .show() will work.
If the element you are trying to show follows an element with display:block, then any form of show will work.
The problem with .show(500) is only in IE8 (not compatibility mode) and only following an element with display:inline.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

sample of the problem with 'show' in IE8