1

hoverIntent插件是否与 Internet Explorer 兼容?我无法将其插入以下 JavaScript:

if (jQuery.browser.msie === true) {
  jQuery('#top_mailing')
    .bind("mouseenter",function(){
      $("#top_mailing_hidden").stop().slideDown('slow');
    })
    .bind("mouseleave",function(){
      $("#top_mailing_hidden").stop().slideUp('slow');
    });
}

我将以下内容用于其他浏览器,但它在 IE7 中不起作用

$('#top_mailing').hoverIntent(
  function () {
    $("#top_mailing_hidden").stop().slideDown('slow');
  }, 
  function () {
    $("#top_mailing_hidden").stop().slideUp('slow');
  }
);
4

1 回答 1

0

我会说是的,因为我在此页面上使用它 - http://trailroc.com/?p=team 我检查了 7 和 8,不确定它是否适用于 IE6,因为我不在乎。

我正在使用 jQuery 1.3.1:

于 2010-02-08T22:46:02.547 回答