Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"

Line 12: Line 12:
 
     var h = headings[i];
 
     var h = headings[i];
 
     var top = h.offsetTop;
 
     var top = h.offsetTop;
     if (top > TOP) break
+
    console.log(TOP, top, h.id)
 +
     if (top >= TOP) break
 
   }
 
   }
 
   //set h as reading part
 
   //set h as reading part

Revision as of 02:41, 17 August 2015