Difference between revisions of "Template:China Tongji Foot"
(15 intermediate revisions by 2 users not shown) | |||
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:# | + | 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 32: | Line 33: | ||
font-size: 11px; | font-size: 11px; | ||
} | } | ||
+ | #copyrightText{ | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | #sponsorGENEWIZ{ | ||
+ | float:left; | ||
+ | } | ||
+ | #sponsorTHORLABS{ | ||
+ | float:right; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</head> | </head> | ||
+ | |||
<body> | <body> | ||
+ | <!--foot start--> | ||
<div class="foot"> | <div class="foot"> | ||
+ | <div id="sponsorGENEWIZ"> | ||
+ | <!-- <a href="http://www.genewiz.com" target="_blank">--> | ||
+ | <img height="100" id="GENEWIZlogo" src="https://static.igem.org/mediawiki/2015/9/96/China-Tongji-Team-sponser-GENEWIZ.jpg"/> | ||
+ | </div> | ||
+ | <div id="sponsorTHORLABS"> | ||
+ | <!-- <a href="http://www.thorlabs.com" target="_blank">--> | ||
+ | <img height="100" id="THORLABSlogo" src="https://static.igem.org/mediawiki/2015/f/f5/China-Tongji-Team-sponser-THORLABS.jpg"/> | ||
+ | </div> | ||
<div class="navFoot" align="center"> | <div class="navFoot" align="center"> | ||
<tr align="center"> | <tr align="center"> | ||
Line 50: | Line 72: | ||
</tr> | </tr> | ||
</div> | </div> | ||
− | <div class="copyright"><center><p>Copyright © China_Tongji iGEM 2015 | Developer: LiJunWu </p></center></div> | + | <div class="copyright"><center><p id="copyrightText">Copyright © China_Tongji iGEM 2015 | Developer: LiJunWu </p></center></div> |
</div> | </div> | ||
+ | <!-- ------------javascript code ----------------- --> | ||
+ | <script type="text/javascript"> | ||
+ | //页面跳转后根据地址栏中的参数定位 | ||
+ | $(function() { | ||
+ | var startIndex = location.href.indexOf("="); | ||
+ | if (startIndex > 0) { //判断对象是否存在 | ||
+ | var locationId = location.href.substring(startIndex+1); //获得锚点 | ||
+ | setTimeout(function(){$('html,body').animate({scrollTop: $("#"+locationId).offset().top-78}, 1500);},200); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 18:08, 16 September 2015
Copyright © China_Tongji iGEM 2015 | Developer: LiJunWu