I have a DIV with some text. I want to change the background color in a continouse loop while the text remains visible. Below is the code that I wrote, but everythings fades not just the background. How can I correct this?
//continual fade
function lowerLeftFadeIn() {
$('#lowerLeft').fadeOut(10000).css('background-color' , '#ffff99'), lowerLeftFadeOut();
}
function lowerLeftFadeOut() {
$('#lowerLeft').fadeIn(10000).css('background-color' , '#ffff99'), lowerLeftFadeIn();
}
$(document).ready(function(){
lowerLeftFadeIn();
});