このコードを使用して、IE6 のユーザーがサイトにアクセスできないようにしています。
http://code.google.com/p/ie6-upgrade-warning/
警告を閉じて、ブラウザをアップグレードせずにサイトの閲覧を続けるオプションをユーザーに提供したいと思います。
これを行う方法はありますか?
このコードを使用して、IE6 のユーザーがサイトにアクセスできないようにしています。
http://code.google.com/p/ie6-upgrade-warning/
警告を閉じて、ブラウザをアップグレードせずにサイトの閲覧を続けるオプションをユーザーに提供したいと思います。
これを行う方法はありますか?
Microsoft のバナーを使用してください: http://www.ie6countdown.com/join-us.aspx次のコードで閉じるボタンを追加できます:
<!--[if lt IE 7]> <div id="ie6banner" style='clear: both; height: 59px; padding:0 0 0 15px; position: relative;'> <a href="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode"><img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." /></a><a onClick="document.getElementById('ie6banner').style.display = 'none'; this.style.display = 'none';"</div> <![endif]-->