Jquery Fadein淡出不在IE8中工作

Jquery Fadein淡出不在IE8中工作,jquery,internet-explorer,fadein,fade,Jquery,Internet Explorer,Fadein,Fade,我使用淡入淡出淡出渐变png来阅读文本,这是一个png-24的代码非常简单,但IE8不会淡出,它只是弹出和弹出 $document.readyfunction{ $('#menu').hover(function() { $('#gradient').fadeIn('slow'); }, function() { $('#gradient').fadeOut('fast'); }); });

我使用淡入淡出淡出渐变png来阅读文本,这是一个png-24的代码非常简单,但IE8不会淡出,它只是弹出和弹出 $document.readyfunction{

        $('#menu').hover(function() {
            $('#gradient').fadeIn('slow');
        }, function() {
            $('#gradient').fadeOut('fast');
        });
    });    

它的工作很好……。

CSS不透明度是在IE中使用alpha过滤器伪造的…这可能是您无法克服的。这不是使用PNG图像…我相信这就是@Goetz的fadeIn/fadeOut问题的根源。基本fadeIn/fadeOut在IE6/IE7/IE8中工作良好。
<html>
<head>
<title>Test Page</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#menu').hover(function() {
        $('#gradient').fadeIn('slow');
     }, function() {
        $('#gradient').fadeOut('fast');
    });
}); 
</script>
</head>

<body>
<div id="menu" style="background:red; height:200; width:200px;">

 <input type="file" id="gradient" style="display:none" />

</div>

</body>
</html>