Difference between revisions of "Template:BIT-China"

Line 209: Line 209:
 
//锚点定位
 
//锚点定位
 
var thisId = window.location.hash;
 
var thisId = window.location.hash;
$.scrollTop(""+thisId,-150,400);
+
if(thisId.length>0)
 +
$.scrollTop(""+thisId,-100,400);
  
  

Revision as of 16:26, 19 October 2016

backtop