$("a.avatar").click(function(e){ e.preventDefault(); $("#thumbnails").fadeIn(); });
and
$("a.avatar").click(function(e){ $("#thumbnails").fadeIn(); return false; });
Both can achieve the same goal for me.