开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜