Code:
$(window).keydown(function(e){ if( e.keyCode == 9 ) { // 9 = Tab $('*').animate({scrollTop: ($(window).scrollTop() + 500)+'px'}, 1000); return false; } });
What's wrong?
ALSO when I click the tab button, the tab is still activated even after I returned false. What's wrong with that as well?
Comment