This should be so simple:
$("a").hover(function () {
$(this).stop().animate({color: "#00cc00"}, 'fast');
}, function () {
$(this).stop().animate({color: "#939393"}, 'fast');
});
$(".footer_link").find("a").hover(function () {
$(this).stop().animate({color: "#333"}, 'fast');
}, function () {
$(this).stop().animate({color: "#939393"}, 'fast');
});
I'm telling my page to make all tags on hover change colour.
Then i'm giving a different rule for tags in a specific div.
I know if I do this in CSS, it will work. But in jQuery, the first rul overrides all rules.
It would be reallly cumbersome to find all the divs and spans that have tags and specify them all just so i can have one single tag do something different.
Am I doing something wrong here?
You can see it here: http://baked-beans.tv (the footer is where things are not working as they should.