Difference between revisions of "Template:BNU-CHINA/article"

Line 32: Line 32:
  
 
     $("ul.sub-nav a").click(function () {
 
     $("ul.sub-nav a").click(function () {
         $("html, body").animate({scrollTop: $($("article h2")[$(this).attr("data-tartget")]).offset().top - $(".sub-header").height() - baseline}, "slow");
+
         $("html, body").animate({scrollTop: $($("article h2")[$(this).attr("data-tartget")]).offset().top - $(".sub-header").height()}, "slow");
 
     });
 
     });
  

Revision as of 20:19, 17 September 2015