0
嗨,任何人可以帮助我,褪色的菜单栏wiith js悬停和ie 8.0
我有一个菜单栏,褪色背景从黑色到灰色。当我将鼠标悬停在某个类别上时,我希望它能够在我将鼠标移开时变白(我们希望它会返回到淡出的菜单)。我在js文件中设置了这个设置
$(this).find("a:first").stop().animate({
color: '#04660b',
backgroundColor: '#ffffff'
},300
);
},
function() {
$(this).find("a:first").stop().animate({
color: '#ffffff',
background: ' '
},300
);
}
);
这适用于IE 9,Chrome但在IE 8中无法使用,任何想法都会受到欢迎。原始版本的backgroundColor:'#00ee00'哪些工作正常,但我想要什么。