Few checkpoints...
Make sure you include the jQuery library, inside your
.
If that's fine, do you have an element with the class .footer
? If not, is it an ID
? In that case, you need to add this:
$(document).ready(function() {
$('#footer').click(function() {
$('#footer').fadeOut('slow');
});
});
Actually, this can be done in another best way:
$(document).ready(function() {
$('#footer').click(function() {
$(this).fadeOut('slow');
});
});