Let other people know they have old browser! (demo)
All internet users that uses obsolete browsers will see a top bar inviting them to update their browser (view the example).
If you have any questions, feel free to let us know on our Halfpixel blog
Copy this code to the header of your page:
<script type="text/javascript" >var unsupportedBrowsers=new Array("Explorer:6.9");var supportedBrowsers=new Array(); </script>
<script type="text/javascript" src="http://checkbrowser.halfpixelstudio.com/enchecker.js" ></script>
As you can see, in unsupportedBrowsers variable, you can specify browsers an versions, where the bar will show up (in this case, all versions of IE below 7 are unsupported).
You can specify even more unsupported browsers like this:
var unsupportedBrowsers=new Array("Explorer:6.9","Firefox:2.9").
Edit supported browsers:
var supportedBrowsers=new Array("Explorer", "Firefox", "Chrome", "Opera", "Safari");
When you specify supported browsers variable, all the links with browser downloads will be displayed in the bar.