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

Line 17: Line 17:
  
 
     var baseline = $("#top_menu_14").height();
 
     var baseline = $("#top_menu_14").height();
     console.log($("#top_menu_14").height());
+
     console.log(baseline - $(".sub-header").height() + "px");
  
 
     $(".sub-header").css({
 
     $(".sub-header").css({
         top": baseline - $(this).height() + "px"
+
         top": baseline - $(".sub-header").height() + "px"
 
     });
 
     });
  

Revision as of 20:13, 17 September 2015