Hello, I've been trying to figure this out and I'm not sure why my code does not work?
$(function(){
$('ul.ldd_menu li.topLink ul').hide();
$('div.ldd_submenu').hide();
$('div.submenu_top').hide();
$('li.topLink').hover(function(){
$(this).find('ul').show()
$(this).css({'color':'#FFF','background-color':'#000000'});
$(this).find('div').show()
},function(){
$(this).find('ul').hide();
$(this).css({'color':'#000','background-color':'#ffffff'});
$(this).find('div').hide();
});
});
That is my code, and the background-color works. But why doesn't my font color change colors which its supposed to?
Any suggestions?
Thanks