Karl Swedberg wrote:
Hey everyone,
I just helped a friend of mine solve a problem he was having with
thickbox 2 and the latest jQuery (1.1.3.1), so I thought I'd share the
info in case anyone else is having the same problem.
He was getting an error running it in IE6.
Changing line 270 in thickbox.js seemed to do the trick.
from:
if ( !(jQuery.browser.msie && typeof XMLHttpRequest == 'function')) { //
take away IE6
to:
if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take
away IE6
If you need an backwards compatible solution (in plugins for example):
$.browser.msie6 = $.browser.msie && ($.browser.version &&
$.browser.version < 7 || /6.0/.test(navigator.userAgent));
if (!$.browser.msie6) { ... }
--Klaus