Difference between revisions of "Template:China Tongji Head"

Line 127: Line 127:
 
                     <li class="navTwo" id="navOverview"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=Overview">Overview</a></li>
 
                     <li class="navTwo" id="navOverview"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=Overview">Overview</a></li>
 
                     <li class="navTwo" id="navBackground"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=Background">Background</a></li>
 
                     <li class="navTwo" id="navBackground"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=Background">Background</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=ProjectDesign">Project Design</a></li>
 
                     <li class="navTwo" id="navProtocol"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=Protocol">Protocol</a></li>
 
                     <li class="navTwo" id="navProtocol"><a href="https://2015.igem.org/Team:China_Tongji/Project?locationId=Protocol">Protocol</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="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>
 
             </div>
 
             </div>
 
         </div>
 
         </div>
Line 207: Line 208:
 
//当前位置指示
 
//当前位置指示
 
var keyWord = location.href.substring(38);
 
var keyWord = location.href.substring(38);
if(keyWord.match("Project") != null){
+
if( (keyWord.match("Project") != null) || (keyWord.match("Design") != null) ){
 
document.getElementById("divProject").style.borderBottom = "4px solid #F0F";
 
document.getElementById("divProject").style.borderBottom = "4px solid #F0F";
 
}else if(keyWord.match("Notebook") != null){
 
}else if(keyWord.match("Notebook") != null){
Line 215: Line 216:
 
}else if(keyWord.match("Team") != null){
 
}else if(keyWord.match("Team") != null){
 
document.getElementById("divTeam").style.borderBottom = "4px solid #F0F";
 
document.getElementById("divTeam").style.borderBottom = "4px solid #F0F";
}else if( (keyWord.match("Outreach") != null) || (keyWord.match("Practices") != null)){
+
}else if( (keyWord.match("Outreach") != null) || (keyWord.match("Practices") != null) ){
 
document.getElementById("divOutreach").style.borderBottom = "4px solid #F0F";
 
document.getElementById("divOutreach").style.borderBottom = "4px solid #F0F";
 
}else if(keyWord.match("Safety") != null){
 
}else if(keyWord.match("Safety") != null){

Revision as of 18:51, 14 September 2015