簡體   English   中英

jQuery hoverIntent插件可以在Internet Explorer中工作嗎?

[英]Does the jQuery hoverIntent plugin work in Internet Explorer?

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');
  }
);

我會說是,因為我在此頁面上正在使用它-http://trailroc.com/?p=team我檢查了7和8,不確定是否可以在IE6中使用,因為我不在乎。

我正在使用jQuery 1.3.1:

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM