Display Warning Message for IE 6 Users

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

Copy this code and paste it in your HTML
  1. if ( (jQuery.browser.msie) && (parseInt(jQuery.browser.version) < 7) ) {
  2. $('body').prepend('<div class="warning">You are using an old version of Internet Explorer which is not supported. Please upgrade your browser in order to view this website.</div>');
  3. }

URL: http://eisabainyo.net/weblog/2010/09/01/10-useful-jquery-snippets/

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.