Difference between revisions of "Template:China Tongji Head"

Line 102: Line 102:
 
font-size: 14px;
 
font-size: 14px;
 
display:block;
 
display:block;
width:100%;
+
width:100%;
 
}
 
}
  
Line 183: Line 183:
 
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 #F0F";
+
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 #F0F";
+
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 #F0F";
+
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 #F0F";
+
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 #F0F";
+
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 #F0F";
+
document.getElementById("divSafety").style.borderBottom = "4px solid #6D2E1A";
 
}else{
 
}else{
document.getElementById("divHome").style.borderBottom = "4px solid #F0F";
+
document.getElementById("divHome").style.borderBottom = "4px solid #6D2E1A";
 
}
 
}
 
});
 
});

Revision as of 18:11, 16 September 2015