Nice IE6 Upgrade Warning!

The ie6-upgrade-warning is a little script (7.9kb) (download it from here) that displays a warning message politely informing the user to upgrade the browser to a newer version (links to newest IE, Firefox, Opera, Safari, Chrome are provided). The webpage is still visible behind a transparent background, but access to it is prevented. The idea is to force users to upgrade from IE6 and avoid the website from a bad reputation that website is not rendering correctly in IE6 (note: if you are a sharepoint developer, then you’ll be happy with this script). The script is completely translatable in any language, very easy to set-up (one line of code in webpage and one parameter configuration).

IE6 Warning

Just insert the lines

<!--[if lte IE 6]-->
<script src="js/ie6/warning.js"></script>
<script>window.onload=function(){e("js/ie6/")}</script>
<!--[endif]-->
 

  right after the <body> declaration of the webpage and change the e("js/ie6/") to the folder where the script's icons images are located.  

Happy Programming Winking smile
Rami M. Nassar

No Comments