开发者

jQuery Cycle Plugin : white background in IE (any version)

开发者 https://www.devze.com 2023-02-27 03:37 出处:网络
in IE jQuery Cycle Plugin sets the background to white... even i have the CSS t开发者_运维技巧ransparent for everythingThis is the correct answer to the original question:

in IE jQuery Cycle Plugin sets the background to white... even i have the CSS t开发者_运维技巧ransparent for everything


This is the correct answer to the original question:

Add this param to your jQuery: cleartypeNoBg:true

so it should look like this:

$(document).ready(function() {
    $('#your_div_id').cycle({       
        fx: 'fade',
        cleartypeNoBg:true
    });
});

-W


If your css has rgba values and still it is not being displayed then you should try add this to your ie.css file for that particular div

Transparent background for IE hack :

background: transparent; 
 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#808ED557,endColorstr=#808ED557);
0

精彩评论

暂无评论...
验证码 换一张
取 消