Difference between revisions of "Template:Fudan-TSI"

Line 600: Line 600:
 
<a class="navA" href="https://2019.igem.org/Team:Fudan-TSI/Human_Practices">Human Practices</a>
 
<a class="navA" href="https://2019.igem.org/Team:Fudan-TSI/Human_Practices">Human Practices</a>
 
<ul class="ul2">
 
<ul class="ul2">
<li class="li2"><a class="navA2" style="white-space:nowrap; margin-bottom:1.7vw;" href="https://2019.igem.org/Team:Fudan-TSI/Public_Engagement">Education &#38 <br />Public Engagement</a></li>
+
<li class="li2"><a class="navA2" style="white-space:nowrap; margin-bottom:1.7vw;" href="https://2019.igem.org/Team:Fudan-TSI/Public_Engagement">Education &amp <br />Public Engagement</a></li>
 
<li class="li2"><a class="navA2" style="white-space:nowrap; margin-bottom:1.7vw;" href="https://2019.igem.org/Team:Fudan-TSI/Integrated_Human_Practice">Integrated <br />Human Practice</a></li>
 
<li class="li2"><a class="navA2" style="white-space:nowrap; margin-bottom:1.7vw;" href="https://2019.igem.org/Team:Fudan-TSI/Integrated_Human_Practice">Integrated <br />Human Practice</a></li>
 
<li class="li2"><a class="navA2" href="https://2019.igem.org/Team:Fudan-TSI/Collaborations">Collaboration</a></li>
 
<li class="li2"><a class="navA2" href="https://2019.igem.org/Team:Fudan-TSI/Collaborations">Collaboration</a></li>
Line 924: Line 924:
 
function navAdj(){
 
function navAdj(){
 
var winHeight=$(window).height();
 
var winHeight=$(window).height();
        var topDis = $(window).scrollTop();
+
                var topDis = $(window).scrollTop();
 
var mainNavHeight=$("#navUl").height();
 
var mainNavHeight=$("#navUl").height();
 
$(".ul2").css("top",mainNavHeight);
 
$(".ul2").css("top",mainNavHeight);
if(topDis > 50){
+
if(topDis > 100){
 
if (scrDir!=1){
 
if (scrDir!=1){
 
$("#navUl")
 
$("#navUl")

Revision as of 02:45, 29 August 2019