Auf FINN.NO gibt es einen
norwegischen Artikel, der ein Snippet enthaelt, mit dem man IE6-Nutzer zum Upgrade auf einen sicheren, aktuellen Browser bewegen soll. Dieses Snippet kann jeder Inhaber einer Seite einfach selbst in seine Seite einbauen.
Und das geht so:
<!–[if lte IE 6]>
<style type=”text/css”>
#ie6msg{border:3px solid #090; margin:8px 0; background:#cfc; color:#000;}
#ie6msg h4{margin:8px; padding:0;}
#ie6msg p{margin:8px; padding:0;}
#ie6msg p a.getie7{font-weight:bold; color:#006;}
#ie6msg p a.ie6expl{font-weight:normal; color:#006;}
</style>
<div id=”ie6msg”>
<h4>Did you know that your browser is out of date?</h4>
<p>
To get the best possible experience using our website we recommend that you upgrade your browser to a newer version. The current version is <a href=”http://www.microsoft.com/windows/downloads/ie/getitnow.mspx”>Internet Explorer 7</a> and <a href=”http://www.microsoft.com/windows/Internet-explorer/beta/default.aspx”>Internet Explorer 8</a> is available as a beta. The upgrade is free. If you’re using a PC at work you should contact your IT-administrator.</p>
<p>If you want to you may also try some other popular Internet browsers like <a href=”http://www.opera.com”>Opera</a>, <a href=”http://mozilla.com”>FireFox</a> or <a href=”http://www.apple.com/safari/download/”>Safari</a>
</div>
<![endif]–>
Das Ergebnis sieht dann so aus:
Did you know that your browser is out of date?
To get the best possible experience using our website we recommend that you upgrade your browser to a newer version. The current version is Internet Explorer 7 and Internet Explorer 8 is available as a beta. The upgrade is free. If you’re using a PC at work you should contact your IT-administrator.
If you want to you may also try some other popular Internet browsers like Opera, FireFox or Safari