我正在修改 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');
});