我正在修改IE8的bootstrap carousel支持。這工作在鉻和FF,但不是IE 8,它會改變沒有淡入。有誰知道爲什麼?Jquery addClass fadeIn fadeOut不能在IE8中工作
<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');
});
什麼東西顯示在您的控制檯? – Sampson 2012-04-20 17:06:20
在控制檯 – River 2012-04-20 17:16:10