2008/9/2 Gregorio Espadas <[EMAIL PROTECTED]>:
> I like the IE6Blocker from Chris Coyier, check it out at
> http://css-tricks.com/ie-6-blocker-script/

In my opinion this is worst practice.

First priority should be for a website to make the content available
to as many people as possible. Browser discrimination is at least as
bad as accessibility and usability violations.
"At least" because the latter may be caused by lack of knowedge of
some guidelines, whereas not being able to deliver a passable page to
older browsers is sheer laziness or dumb imbecility.

Apart from my rejection on principle, this method of user agent
sniffing via javascript is prone to fail in many circumstances.
The best way to target IE6 (or below) would be to use conditional comments.

ONLY if a web application absolutely relies on certain javascript
methods not available in old browsers may a user be warned about
difficulties in using this application. In these cases, detection
should be done by testing said methods, not by user agent sniffing.


Cheers,

jens

-- 
Jens Brueckmann
http://www.yalf.de


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to