On 3/6/07, Oliver Boermans <[EMAIL PROTECTED]> wrote:

Is there a reasonably
straight forward method I could employ to lock out IE5 out of jQuery
altogether?


jQuery(document).ready(function() {
   if( /MSIE [1-5]/.test(navigator.userAgent ) return;
   // rest of init code goes here;
});

All of my initialization is done in $().ready(), so if that code never runs,
then IE 5.5 won't have anything to complain about.

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to