Probably an easy one, I have the following code...
$('.subitems').find('li').each(function(i) {
$(this).find('a').bind('click', function() {
$('.fade').hide();
$('.fade').eq(i).show('fast');
event.preventDefault();
return false;
});
});
However whenever I click on the link it still goes to the top of the page. Any Ideas?