2

IE8 のブートストラップ カルーセル サポートを変更しています。これは chrome と FF では機能しますが、IE 8 では機能しません。フェードインせずに変更されます。理由を知っている人はいますか?

<style>
  .carousel .activerow {display: none;} 
  .carousel .row { left: 0; opacity: 1; }
  </style>

  /*I have many rows of data in the dom
   They are not visible until'active' class 
   is added.

   This code is binded to a link
  */
  var activeset = $active; //contains the contents of current row
  var nextset = $next;    //contains contents of the next 

  $active.fadeOut('slow', function () {            
      activeset.removeClass('activerow');
      nextset.addClass('active');
      nextset.fadeIn('slow');          

    });
4

1 に答える 1

1

O型だと思います。

$active.fadeOut(....

する必要があるかもしれません

$(active).fadeOut(....

編集:これを投稿する前に考えていませんでした。

要素をキャッシュしているので、セレクターが一致を返していると確信していますか?

于 2012-04-20T17:15:20.440 に答える