Side navigation
#3960 closed enhancement (invalid)
Opened January 22, 2009 07:10PM UTC
Closed October 19, 2009 01:45AM UTC
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: | |
Blocked by: | Blocking: |
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 }
Turned out to be a misguided approach - please close (unless someone really needs to know about maxHeight ;) ).