$("#j_menu a").click(function(e) {
var goto = $("#"+$(this).attr('href').replace('#','')+"");
$('html, body').animate({
scrollTop: goto.offset().top
}, 'slow');
});
He accuses an error saying he can not read ".top" but on another site I'm building he acknowledged.