Hello
Will there be a version of this module which will cater for IE 7 as well, my site does not display well in IE 7 mode, while in FF and IE 8 its perfect, and thus want to display a message for IE 7 no more as well on the website.

Comments

jodeygrist’s picture

You can just alter this module to work with IE7, that's what I've done:

ie6nomore.js:

(function ($) {

Drupal.behaviors.ie6nomore = {
  attach: function (context) {
    if($.browser.msie && $.browser.version <= 7) {
      $("body").prepend($("#ie6nomore")).find('#ie6nomore').show();
    }
  }
};

})(jQuery);

Line 59 of ie6nomore.module:

$output = '<!--[if lte IE 7]>';

Line 119 of ie6nomore.module:

$vars['ie6nomore'] = '<!--[if lte IE 7]>' . theme('ie6nomore_banner') . '<![endif]-->';
lordrt21’s picture

Status: Active » Fixed

thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

agileware’s picture

See #1244506: Add an option to make it IE7 no more for the feature request to add this (including patch).

lordrt21’s picture

thanks for the new link w/ patch