Can anyone see what the issue here is with this small hover code? or maybe there is a better way of writing it?
Error:
Uncaught SyntaxError: missing ) after argument list
Code:
$('.animated-banner').hover(
function() {
$(this' .faded').removeClass('fade-background');
$(this' .faded').addClass('fade-transparent');
$(this' .animated').fadeOut();
},
function() {
$(this' .faded').removeClass('fade-transparent');
$(this' .faded').addClass('fade-background');
$(this' .animated').fadeIn();
}
);