How can I show a message to IE6/IE7 browsers to upgrade to IE8 and have IE8 not show the IE7 warning?

前端 未结 13 946
醉话见心
醉话见心 2020-12-08 02:53

I want to only allow users with IE8 (not IE6, IE7) or another browser to access my site when logged in.

I followed: http://code.google.com/p/ie6-upgrade-warning/ But

13条回答
  •  春和景丽
    2020-12-08 03:46

    Personally I would recommend users to upgrade IE for security reasons. I would use a conditional comment to target browsers below IE8.

          
    

    This message should be unobtrusive but graceful. You should also make the website usable for those that cannot upgrade their browsers.

提交回复
热议问题