南宫28

$(window).on("load", function(){ var hash = window.locations.hash.toLowerCase(); setTimeout(function(){ if (hash == "#display") { $(".section-nav li[data-id='display']").addClass('hd-active').siblings().removeClass('hd-active'); $('#display').addClass('hd-active').siblings().removeClass('hd-active'); $('html, body').stop().animate({ scrollTop: $('#section_3').offset().top -50 }, 800); } }, 1000); })