Modify ↓
Ticket #3960 (closed enhancement: invalid)
Additional $.support property to detect IE6
| Reported by: | emartin24 | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3.2 |
| Component: | support | Version: | 1.3.1 |
| Keywords: | ie6 maxHeight | Cc: | |
| Blocking: | Blocked by: |
Description
In order to transition away from $.browser to $.support, people are going to want/need something to help identify IE6.
After a bit of research, I found one property that seems to work: elem.style.maxHeight. IE6 returns undefined.
I'm adding a patch to support.js - please let me know if you think this would work. I tested in IE6 & 7, Firefox 2 & 3, Opera 9.5 & 9.6 and Safari 3.
Usage:
if (!$.support.maxHeight) {
// do ie6 stuff
}
Attachments
Change History
Changed 4 years ago by emartin24
-
attachment
maxheight.patch
added
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

patch for $.support enhancement