• ie6 no more

2009年12月22日 22:31

面白いサイトを発見した。

ie6 no more!

以下は、サイトからの抜粋。

Enough is enough. Microsoft Internet Explorer 6 was released in late 2001. For its time, it was a decent browser, but in 2009, it is still in use by a significant portion of the web population, and its time is now up.

As any web developer will tell you, working with IE 6 is one of the most difficult and frustrating things they have to deal with on a daily basis, taking up a disproportionate amount of their time. Beyond that, IE 6's support for modern web standards is very lacking, restricting what developers can create and holding the web back.

2001年にリリースされ、今もなお多くの人間が利用しているie6を撲滅するためのキャンペーンサイト。
Web開発者からすれば、ie6に対応するウェブサイトを作ることは大変な労力で且つイライラしてしまう。
ゆえに、そんな古めかしいブラウザにはバイバイしようというキャンペーン。

僕も、当サイトをie6に対応させるために無駄ともいえる時間を費やした。
このサイトは、HTMLとCSSしか使ってないので、もっとも単純なウェブサイトの形といえるかもしれないが、
そんな単純なサイトでも、ie6だけ表示にズレがしょうじてしまった。
cssでie6だけに適用されるコードというのもあったが、そこまでしてie6に対応させなければいけない理由なんて、
windows一人勝ち時代の名残で、未だ利用者が多いから、というだけのことでしかなかったと思う。
(人に見てもらうコンテンツである以上、利用者の多いブラウザに合わせるのは当然のことかもしれないが)


上記のサイトではie6利用者を撲滅するために、下記の試みがなされている。

<!--[if lt IE 7]>
  <div style='border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; height: 75px; position: relative;'>
    <div style='position: absolute; right: 3px; top: 3px; font-family: courier new; font-weight: bold;'><a href='#' onclick='javascript:this.parentNode.parentNode

このコードをHTMLに貼り付けると、ブラウザのアップグレードを促すアラートが表示される。
しかも、ご丁寧にも7カ国語のバージョンをそれぞれ用意する力の入れようである。

うちの会社のシステム部門にもこのアラートを表示したい!