I animated a jQuery element using jQuery 1.3.2 and the jQuery color plugin. I simultaneously animated the "color" and "backgroundColor" properties. In IE8 and FF, it worked perfectly. Chrome animated the color of the mouse and then stopped. The background remained the same, and the mouse did not cancel the effect as it should.
The Chrome developer tools said something about being undefined. I know that I'm a little vague here, maybe this is a known issue?
EDIT - Code (finally!):
<script>
$(document).ready(function(event){
$(".nav a").hover(function(event){
$(this).animate({"color":"#FFFFFF", "backgroundColor":"#3AB7FF"}, 900);
},function(event){
$(this).animate({"color":"#98DCFF","backgroundColor":"#FFFFFF"}, 900);
});
});
</script>
EDIT:
@ Bernhard Hofmann: What does “problems with your chosen properties” mean? Please specify.
source
share