Line 18: | Line 18: | ||
− | $(".nav-main").toggleClass("showNav hideNav").removeClass(" | + | $(".nav-main").toggleClass("showNav hideNav").removeClass("tusthidden"); |
− | $(this).toggleClass(" | + | $(this).toggleClass("tustanimated"); |
}); | }); | ||
$(window).scroll(function(event){ | $(window).scroll(function(event){ | ||
− | $(".btn-nav").removeClass(" | + | $(".btn-nav").removeClass("tustanimated"); |
− | $(".nav-main").addClass("hideNav").removeClass(" | + | $(".nav-main").addClass("hideNav").removeClass("tusthidden"); |
}); | }); | ||
Line 33: | Line 33: | ||
#top_title{display:none;} | #top_title{display:none;} | ||
#content{margin:0px;padding:0px; width:100%; } | #content{margin:0px;padding:0px; width:100%; } | ||
− | |||
− | |||
</style> | </style> | ||
<div class="nav-container"> | <div class="nav-container"> | ||
Line 46: | Line 44: | ||
</button> | </button> | ||
− | <div class="nav-main hideNav | + | <div class="nav-main hideNav tusthidden "> |
<li> | <li> | ||
<div class="mainmenu"> | <div class="mainmenu"> | ||
Line 61: | Line 59: | ||
<i class="iconfont-menu " ></i><br> | <i class="iconfont-menu " ></i><br> | ||
<span>Achievements</span> | <span>Achievements</span> | ||
− | </a></div> | + | </a></div> </li> |
− | + | ||
− | + | ||
<li> | <li> | ||
<div class="mainmenu"><a href="https://2018.igem.org/Team:TUST_China/Model"> | <div class="mainmenu"><a href="https://2018.igem.org/Team:TUST_China/Model"> |
Revision as of 17:32, 8 October 2018