Difference between revisions of "Template:China Tongji Head"
(4 intermediate revisions by the same user not shown) | |||
Line 92: | Line 92: | ||
list-style-type: none; | list-style-type: none; | ||
padding: 5px 10px; | padding: 5px 10px; | ||
+ | max-width:130px; | ||
} | } | ||
.navTwo:hover{ | .navTwo:hover{ | ||
Line 102: | Line 103: | ||
font-size: 14px; | font-size: 14px; | ||
display:block; | display:block; | ||
− | width:100%; | + | width:100%; |
} | } | ||
Line 131: | Line 132: | ||
<li class="navTwo" id="navSummaryResult"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=SummaryResult">Summary and Result</a></li> | <li class="navTwo" id="navSummaryResult"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=SummaryResult">Summary and Result</a></li> | ||
<li class="navTwo" id="navDesign"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=Design">Design</a></li> | <li class="navTwo" id="navDesign"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=Design">Design</a></li> | ||
+ | <li class="navTwo" id="navCharacterize"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=Characterize">Characterize an existing part</a></li> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 144: | Line 146: | ||
<li class="navTwo" id="navEquipment"><a href="https://2015.igem.org/Team:China_Tongji/Achivement?locationId=Equipment">Equipment</a></li> | <li class="navTwo" id="navEquipment"><a href="https://2015.igem.org/Team:China_Tongji/Achivement?locationId=Equipment">Equipment</a></li> | ||
<li class="navTwo" id="navModeling"><a href="https://2015.igem.org/Team:China_Tongji/Achivement?locationId=Modeling">Modeling</a></li> | <li class="navTwo" id="navModeling"><a href="https://2015.igem.org/Team:China_Tongji/Achivement?locationId=Modeling">Modeling</a></li> | ||
− | <li class="navTwo" id=" | + | <li class="navTwo" id="navSelfJudgement"><a href="https://2015.igem.org/Team:China_Tongji/Achivement?locationId=SelfJudgement">Self Judgement</a></li> |
+ | <li class="navTwo" id="navJudgingForm"><a href="https://igem.org/2015_Judging_Form?id=1634" target="_blank">Judging Form</a></li> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 183: | Line 186: | ||
var keyWord = location.href.substring(38); | var keyWord = location.href.substring(38); | ||
if( (keyWord.match("Project") != null) || (keyWord.match("Design") != null) ){ | if( (keyWord.match("Project") != null) || (keyWord.match("Design") != null) ){ | ||
− | document.getElementById("divProject").style.borderBottom = "4px solid # | + | document.getElementById("divProject").style.borderBottom = "4px solid #6D2E1A"; |
}else if(keyWord.match("Notebook") != null){ | }else if(keyWord.match("Notebook") != null){ | ||
− | document.getElementById("divNotebook").style.borderBottom = "4px solid # | + | document.getElementById("divNotebook").style.borderBottom = "4px solid #6D2E1A"; |
}else if( (keyWord.match("Achivement") != null) || (keyWord.match("Modeling") != null) ){ | }else if( (keyWord.match("Achivement") != null) || (keyWord.match("Modeling") != null) ){ | ||
− | document.getElementById("divAchivement").style.borderBottom = "4px solid # | + | document.getElementById("divAchivement").style.borderBottom = "4px solid #6D2E1A"; |
}else if( (keyWord.match("Team") != null) || (keyWord.match("Attributions") != null) ){ | }else if( (keyWord.match("Team") != null) || (keyWord.match("Attributions") != null) ){ | ||
− | document.getElementById("divTeam").style.borderBottom = "4px solid # | + | document.getElementById("divTeam").style.borderBottom = "4px solid #6D2E1A"; |
}else if( (keyWord.match("Outreach") != null) || (keyWord.match("Practices") != null) || (keyWord.match("Collaborations") != null) ){ | }else if( (keyWord.match("Outreach") != null) || (keyWord.match("Practices") != null) || (keyWord.match("Collaborations") != null) ){ | ||
− | document.getElementById("divOutreach").style.borderBottom = "4px solid # | + | document.getElementById("divOutreach").style.borderBottom = "4px solid #6D2E1A"; |
}else if(keyWord.match("Safety") != null){ | }else if(keyWord.match("Safety") != null){ | ||
− | document.getElementById("divSafety").style.borderBottom = "4px solid # | + | document.getElementById("divSafety").style.borderBottom = "4px solid #6D2E1A"; |
}else{ | }else{ | ||
− | document.getElementById("divHome").style.borderBottom = "4px solid # | + | document.getElementById("divHome").style.borderBottom = "4px solid #6D2E1A"; |
} | } | ||
}); | }); |
Latest revision as of 20:50, 17 September 2015