Difference between revisions of "Template:China Tongji Foot"

 
(12 intermediate revisions by 2 users not shown)
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 {
 
margin: 0px;
 
}
 
  
 
.foot{
 
.foot{
        float:left;
+
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 33: 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 51: 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