繁体   English   中英

对于生成的html,不会在ie8中添加不透明度

[英]opacity not getting added in ie8 for generated html

我有一个动画代码,其中不透明度被添加到div标签...但同时在IE8中没有添加不透明度提供我的代码下面...你们可以告诉我为什么它没有被添加...

function soccerMatches(matches) {
    var $profile = $('.color'),
        matchesIds = [],
        $soccers;

    $.each(matches, function(i, match) {
        matchesIds.push('#profile' + match.title);
    });

    $soccers = $(matchesIds.join(', '));

    **$profile.not($soccers).css('opacity', 0.33);**
    $soccers.css('opacity', 1);

}

IE8不支持“不透明度”

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM