If browser is IE6 alert

/ Published in: JavaScript
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <!--[if IE 6]>
  2. <script type="text/javascript">
  3. /*Load jQuery if not already loaded*/ if(typeof jQuery == 'undefined'){ document.write("<script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js\"></"+"script>"); var __noconflict = true; }
  4. var IE6UPDATE_OPTIONS = {
  5. icons_path: "http://static.ie6update.com/hosted/ie6update/images/",
  6. message: "O seu navegador Internet Explorer 6 é um navegador muito antigo e pouco seguro. Clique aqui para atualizar."
  8. }
  9. </script>
  10. <script type="text/javascript" src="http://static.ie6update.com/hosted/ie6update/ie6update.js"></script>
  11. <![endif]-->

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.