Difference between revisions of "Template:China Tongji Foot"
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | |||
<head> | <head> | ||
− | |||
<style type="text/css"> | <style type="text/css"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.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: | + | 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
Copyright © China_Tongji iGEM 2015 | Developer: LiJunWu