我有一个PNG来帮助阅读悬停的菜单,但淡出不会工作在IE浏览器,它在Chrome和Firefox工作得很好,我也使用PNG-24以及和PNG-8没有什么工作动画不透明在IE浏览器上悬停不会工作
$(function() {
$('#gradient').animate({ "opacity": 0 });
$('#menu').hover(function() {
$('#gradient').removeClass('hidden').animate({opacity: '1'}, 400);
}, function() {
$('#gradient').animate({filter: '0'}, 400);
});
}); </script>
我换码至$(文件)。就绪(函数(){ $( '#菜单')。悬停(函数(){ $('#渐变')。fadeIn('slow'); },function(){ $('#gradient')。fadeOut('fast'); }); }); \t \t但它仍然不褪色 – goetzs 2011-01-20 11:25:21