Difference between revisions of "Template:China Tongji Foot"

Line 1: Line 1:
 
<html>
 
<html>
 +
 
<head>
 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
 
<style type="text/css">
 
<style type="text/css">
body {
 
float:left;
 
width:100%;
 
border:0px;
 
margin: 0px;
 
}
 
  
 
.foot{
 
.foot{
 +
clear:both;
 
width:100%;
 
width:100%;
 
height:100px;
 
height:100px;
 
background-color:#404040;
 
background-color:#404040;
 +
position:relative;
 +
bottom:-5px;
 
}
 
}
 
.navFoot{
 
.navFoot{
 
margin-top:0px;
 
margin-top:0px;
padding-top:20px;
+
padding-top:25px;
 
}
 
}
 
.navFoot a{
 
.navFoot a{
Line 36: Line 33:
 
}
 
}
 
</style>
 
</style>
 
 
</head>
 
</head>
  
 
<body>
 
<body>
  
 +
<!--foot start-->
 
<div class="foot">
 
<div class="foot">
 
     <div class="navFoot" align="center">
 
     <div class="navFoot" align="center">
Line 55: Line 52:
 
     <div class="copyright"><center><p>Copyright © China_Tongji iGEM 2015 | Developer: LiJunWu </p></center></div>
 
     <div class="copyright"><center><p>Copyright © China_Tongji iGEM 2015 | Developer: LiJunWu </p></center></div>
 
</div>
 
</div>
 +
 +
<!--当前页面指示-->
 +
<script defer>
 +
var keyWord = location.href.substring(39);
 +
switch (keyWord)
 +
{
 +
  case "ome":
 +
document.getElementById("divHome").style.borderBottom = "4px solid #F0F";
 +
break;
 +
  case "Project":
 +
document.getElementById("divProject").style.borderBottom = "4px solid #F0F";
 +
break;
 +
  case "Notebook":
 +
document.getElementById("divNotebook").style.borderBottom = "4px solid #F0F";
 +
break;
 +
  case "Achivement":
 +
document.getElementById("divAchivement").style.borderBottom = "4px solid #F0F";
 +
break;
 +
  case "Team":
 +
document.getElementById("divTeam").style.borderBottom = "4px solid #F0F";
 +
break;
 +
  case "Outreach":
 +
document.getElementById("divOutreach").style.borderBottom = "4px solid #F0F";
 +
break;
 +
  case "Safety":
 +
document.getElementById("divSafety").style.borderBottom = "4px solid #F0F";
 +
break;
 +
}
 +
</script>
  
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 19:41, 27 July 2015