Difference between revisions of "Template:Fudan-CHINA"

Line 167: Line 167:
 
var winHeight=$(window).height();
 
var winHeight=$(window).height();
 
$("#navUl").css("left",0.5*(winWidth-navWidth));
 
$("#navUl").css("left",0.5*(winWidth-navWidth));
$("#navUl").css("top",0.13*winHeight);
+
$("#navUl").css("top",0.1*winHeight);
 
 
 
$(window).resize(function(){
 
$(window).resize(function(){
Line 174: Line 174:
 
var winHeight=$(window).height();
 
var winHeight=$(window).height();
 
$("#navUl").css("left",0.5*(winWidth-navWidth));
 
$("#navUl").css("left",0.5*(winWidth-navWidth));
$("#navUl").css("top",0.13*winHeight);
+
$("#navUl").css("top",0.1*winHeight);
 
});
 
});
  
Line 197: Line 197:
 
     });
 
     });
 
</script>
 
</script>
<!---------------------------------------------------------------------------------------------------------------------------------------------------->
+
<!---------------------------------------------------------------------------------------------------------------------------------------------------->
 +
 
  
 
</html>
 
</html>

Revision as of 14:22, 20 September 2018