(24 intermediate revisions by 3 users not shown) | |||
Line 26: | Line 26: | ||
width:100%; | width:100%; | ||
background:url(https://static.igem.org/mediawiki/2017/3/3e/T-SICAU-navigation_background-image.jpg); | background:url(https://static.igem.org/mediawiki/2017/3/3e/T-SICAU-navigation_background-image.jpg); | ||
− | height: | + | height:150px; |
position:relative; | position:relative; | ||
z-index:99; | z-index:99; | ||
Line 173: | Line 173: | ||
<div class="dropdown-content"> | <div class="dropdown-content"> | ||
<a href="https://2017.igem.org/Team:SiCAU-China/Team">Team</a> | <a href="https://2017.igem.org/Team:SiCAU-China/Team">Team</a> | ||
− | <a href="https://2017.igem.org/Team:SiCAU-China/Attributions">Attributions </a></div></li> | + | <a href="https://2017.igem.org/Team:SiCAU-China/Attributions">Attributions </a> |
+ | <a href="https://2017.igem.org/Team:SiCAU-China/gally">Gallery</a></div></li> | ||
<li><a href="https://2017.igem.org/Team:SiCAU-China/Collaborations"><div> | <li><a href="https://2017.igem.org/Team:SiCAU-China/Collaborations"><div> | ||
Line 194: | Line 195: | ||
var s = document.body.scrollTop || document.documentElement.scrollTop | var s = document.body.scrollTop || document.documentElement.scrollTop | ||
if(s>H+90) { | if(s>H+90) { | ||
− | oDiv.style = "top:-90px;width:100%;z-index:100;" | + | oDiv.style = "position:fixed;top:-90px;width:100%;z-index:100;" |
} else { | } else { | ||
− | oDiv.style = "" | + | oDiv.style = " " |
} | } | ||
} | } |
Latest revision as of 22:54, 1 November 2017