简体   繁体   中英

opacity not getting added in ie8 for generated html

I have an animation code where opacity gets added to the div tag... but at the same time the opacity is not getting added in IE8 providing my code below... can you guys tell me why its not getting added...

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不支持“不透明度”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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