Posts by Yohran Stipanich • 1 point
1 post
-
0
votes1
answer30
viewsQ: Error . top in jQuery
$("#j_menu a").click(function(e) { var goto = $("#"+$(this).attr('href').replace('#','')+""); $('html, body').animate({ scrollTop: goto.offset().top }, 'slow'); }); He accuses a mistake saying he…