Line 1: | Line 1: | ||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> | ||
− | #top_title{ | + | #top_title { |
− | display:none; | + | display: none; |
} | } | ||
− | |||
− | |||
− | |||
− | + | * { | |
− | + | box-sizing: border-box; | |
− | + | } | |
− | + | a { | |
− | + | text-decoration: none; | |
− | + | } | |
− | + | ||
− | + | ul, | |
− | + | ol { | |
− | + | list-style: none; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | body { | |
− | + | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
− | + | font-size: 14px; | |
− | + | line-height: 1.42857143; | |
− | + | color: #333; | |
− | + | min-width: 768px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .navbar-default { | |
− | + | background-color: #EEE; | |
− | + | border-color: #e7e7e7; | |
− | + | top: 16px; | |
− | + | border-width: 0 0 1px; | |
− | + | position: fixed; | |
+ | right: 0; | ||
+ | left: 0; | ||
+ | z-index: 1030; | ||
+ | min-height: 50px; | ||
+ | margin-bottom: 20px; | ||
+ | border: 1px solid transparent; | ||
+ | min-width: 768px; | ||
+ | } | ||
− | + | .container { | |
− | + | padding-right: 15px; | |
− | + | padding-left: 15px; | |
− | + | margin-right: auto; | |
− | + | margin-left: auto; | |
+ | } | ||
− | + | @media screen and (min-width: 768px) { | |
− | + | .container { | |
− | + | width: 750px; | |
− | + | } | |
− | + | } | |
− | + | @media screen and (min-width: 992px) { | |
− | + | .container { | |
− | + | width: 970px; | |
− | + | } | |
− | + | } | |
− | + | @media screen and (min-width: 1200px) { | |
− | + | .container { | |
− | + | width: 1170px; | |
+ | } | ||
+ | } | ||
− | + | .navbar-header { | |
− | + | float: left; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .navbar-brand { | |
− | + | color: #777; | |
− | + | float: left; | |
+ | height: 50px; | ||
+ | padding: 15px 15px; | ||
+ | font-size: 18px; | ||
+ | line-height: 20px; | ||
+ | } | ||
− | + | .navbar>ul>li { | |
− | + | float: left; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | .nav>li { | |
− | + | position: relative; | |
− | + | display: block; | |
− | + | margin-right: 10px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | .nav>li>a { | |
− | + | color: #777; | |
− | + | position: relative; | |
+ | display: block; | ||
+ | padding: 8px 15px; | ||
+ | cursor: pointer; | ||
+ | } | ||
− | + | .nav>li>a:hover { | |
− | + | color: #333; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .caret { | |
− | + | display: inline-block; | |
− | + | width: 0; | |
+ | height: 0; | ||
+ | margin-left: 2px; | ||
+ | vertical-align: middle; | ||
+ | border-top: 4px solid #777; | ||
+ | border-right: 4px solid transparent; | ||
+ | border-left: 4px solid transparent; | ||
+ | position: absolute; | ||
+ | top: 18px; | ||
+ | right: 1px; | ||
+ | } | ||
− | + | .nav>li>a:hover+span { | |
− | + | border-top: 4px solid #333; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | .nav>li .dropdown-menu { | |
− | + | margin-top: 0; | |
− | + | border-top-left-radius: 0; | |
+ | border-top-right-radius: 0; | ||
+ | position: absolute; | ||
+ | top: 35px; | ||
+ | left: 0; | ||
+ | z-index: 1000; | ||
+ | float: left; | ||
+ | min-width: 160px; | ||
+ | padding: 5px 0; | ||
+ | margin: 2px 0 0; | ||
+ | font-size: 14px; | ||
+ | text-align: left; | ||
+ | list-style: none; | ||
+ | background-color: #fff; | ||
+ | -webkit-background-clip: padding-box; | ||
+ | background-clip: padding-box; | ||
+ | border: 1px solid #ccc; | ||
+ | border: 1px solid rgba(0, 0, 0, .15); | ||
+ | border-radius: 4px; | ||
+ | -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); | ||
+ | box-shadow: 0 6px 12px rgba(0, 0, 0, .175); | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .dropdown-menu>li { | ||
+ | display: list-item; | ||
+ | } | ||
+ | |||
+ | .dropdown-menu>li>a { | ||
+ | display: block; | ||
+ | padding: 3px 20px; | ||
+ | clear: both; | ||
+ | font-weight: normal; | ||
+ | line-height: 1.42857143; | ||
+ | color: #333; | ||
+ | white-space: nowrap; | ||
+ | } | ||
+ | |||
+ | .dropdown-menu>li>a:hover { | ||
+ | background-color: #eee; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
html { | html { | ||
− | + | font-family: sans-serif; | |
− | + | -webkit-text-size-adjust: 100%; | |
− | + | -ms-text-size-adjust: 100%; | |
} | } | ||
− | #mainDiv{ | + | |
− | + | #mainDiv { | |
− | + | ||
− | + | margin: 0; | |
− | + | min-height: 1400px; | |
− | + | padding-top: 70px; | |
− | + | min-width: 1140px; | |
+ | background-image: url('https://static.igem.org/mediawiki/2018/4/4b/T--SCAU-China--ziyeMain.jpg'); | ||
+ | background-attachment: fixed; | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: cover; | ||
} | } | ||
+ | |||
.heart { | .heart { | ||
− | + | width: 1140px; | |
− | + | margin: 0 auto; | |
+ | /* 通用的版心 */ | ||
} | } | ||
+ | |||
#mask { | #mask { | ||
width: 100%; | width: 100%; | ||
− | height: | + | height: 100%; |
background: rgba(0, 0, 0, 0.3); | background: rgba(0, 0, 0, 0.3); | ||
margin-top: -15px; | margin-top: -15px; | ||
padding-top: 15px; | padding-top: 15px; | ||
} | } | ||
− | .DBoard {/* 展板样式 */ | + | |
+ | .DBoard { | ||
+ | /* 展板样式 */ | ||
margin: 0px auto 40px auto; | margin: 0px auto 40px auto; | ||
width: 1000px; | width: 1000px; | ||
− | height: 100%; | + | height: 100%px; |
border-radius: 3px; | border-radius: 3px; | ||
background-color: #fff; | background-color: #fff; | ||
Line 193: | Line 205: | ||
position: relative; | position: relative; | ||
} | } | ||
− | .DBoard0 {/*文字样式*/ | + | |
+ | .DBoard0 { | ||
+ | /*文字样式*/ | ||
margin: 0px auto 40px auto; | margin: 0px auto 40px auto; | ||
width: 1000px; | width: 1000px; | ||
− | height: | + | height: 500px; |
border-radius: 3px; | border-radius: 3px; | ||
color: white; | color: white; | ||
Line 202: | Line 216: | ||
position: relative; | position: relative; | ||
} | } | ||
+ | |||
#mask p { | #mask p { | ||
color: #fff; | color: #fff; | ||
text-align: center; | text-align: center; | ||
} | } | ||
+ | |||
#lists-DB { | #lists-DB { | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
− | #lists-DB:hover #arr-l,#lists-DB:hover #arr-r{ | + | |
+ | #lists-DB:hover #arr-l, | ||
+ | #lists-DB:hover #arr-r { | ||
display: block; | display: block; | ||
} | } | ||
+ | |||
#lists { | #lists { | ||
position: relative; | position: relative; | ||
width: 4000px; | width: 4000px; | ||
} | } | ||
+ | |||
#lists img { | #lists img { | ||
float: left; | float: left; | ||
} | } | ||
− | #arr-l,#arr-r { | + | |
+ | #arr-l, | ||
+ | #arr-r { | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
Line 233: | Line 255: | ||
display: none; | display: none; | ||
} | } | ||
− | #arr-l:hover,#arr-r:hover { | + | |
+ | #arr-l:hover, | ||
+ | #arr-r:hover { | ||
background: rgba(0, 0, 0, .7); | background: rgba(0, 0, 0, .7); | ||
} | } | ||
+ | |||
#arr-l { | #arr-l { | ||
left: 0; | left: 0; | ||
} | } | ||
+ | |||
#arr-r { | #arr-r { | ||
right: 0; | right: 0; | ||
} | } | ||
+ | |||
#buttons { | #buttons { | ||
position: absolute; | position: absolute; | ||
Line 247: | Line 274: | ||
left: 50%; | left: 50%; | ||
} | } | ||
+ | |||
#buttons span { | #buttons span { | ||
width: 12px; | width: 12px; | ||
Line 255: | Line 283: | ||
margin: 0 5px 0 5px; | margin: 0 5px 0 5px; | ||
} | } | ||
+ | |||
.on { | .on { | ||
background-color: #333 !important; | background-color: #333 !important; | ||
} | } | ||
+ | |||
#toTop { | #toTop { | ||
width: 50px; | width: 50px; | ||
Line 269: | Line 299: | ||
} | } | ||
− | + | ||
+ | |||
} | } | ||
− | #img4{ | + | #img4 { |
width: 10%; | width: 10%; | ||
} | } | ||
Line 296: | Line 327: | ||
z-index: 2; | z-index: 2; | ||
} | } | ||
− | #title{ | + | #title { |
height: 100px; | height: 100px; | ||
background: rgba(0, 0, 0, 0.3); | background: rgba(0, 0, 0, 0.3); | ||
Line 304: | Line 335: | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
line-height: 100px; | line-height: 100px; | ||
− | |||
} | } | ||
− | #article1{ | + | #article1 { |
− | + | background: rgba(0, 0, 0, 0); | |
− | + | height: 100%; | |
} | } | ||
− | #article1 p{ | + | #article1 p { |
text-align: left; | text-align: left; | ||
Line 316: | Line 346: | ||
color: white; | color: white; | ||
margin-top: 20px; | margin-top: 20px; | ||
− | + | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
− | font-size:20px; | + | font-size: 20px; |
} | } | ||
− | |||
− | |||
</style> | </style> | ||
<div class="navbar-default"> | <div class="navbar-default"> | ||
− | + | <div class="container"> | |
− | + | <div class="navbar-header"> | |
− | + | <a href="https://2018.igem.org/Team:SCAU-China" class="navbar-brand">SCAU-2018</a> | |
+ | </div> | ||
+ | <div class="navbar"> | ||
+ | <ul style="float: left;" class="nav"> | ||
+ | <li class="dropdown"> | ||
+ | <a href="javascript:void(0)">TEAM</a> | ||
+ | <span class="caret"></span> | ||
+ | <ul class='dropdown-menu'> | ||
+ | <li> | ||
+ | <a href="#">Time shaft</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Members</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Advisors</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Teachers</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Attributions</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="#">Collaborations</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a href="javascript:void(0)">PROJECT</a> | ||
+ | <span class="caret"></span> | ||
+ | <ul class='dropdown-menu'> | ||
+ | <li><a href="https://2018.igem.org/Team:SCAU-China/Description">Description</a></li> | ||
+ | <li><a href="#">Design</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a href="javascript:void(0)">PART</a> | ||
+ | <span class="caret"></span> | ||
+ | <ul class='dropdown-menu'> | ||
+ | <li><a href="#">Basic parts</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:SCAU-China/interlab">interlab</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a href="javascript:void(0)">RESULT</a> | ||
+ | <span class="caret"></span> | ||
+ | <ul class='dropdown-menu'> | ||
+ | <li><a href="#">Experiments</a></li> | ||
+ | <li><a href="#">Proof</a></li> | ||
+ | <li><a href="#">Demonstrate</a></li> | ||
+ | <li><a href="#">Model</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a href="javascript:void(0)">NOTE</a> | ||
+ | <span class="caret"></span> | ||
+ | <ul class='dropdown-menu'> | ||
+ | <li><a href="#">NoteBook</a></li> | ||
+ | <li><a href="#">Gallery</a></li> | ||
+ | <li><a href="#">Protocol</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
+ | <ul style="float: right;" class="nav"> | ||
+ | <li class="dropdown"> | ||
+ | <a href="javascript:void(0)">SAFETY</a> | ||
+ | <span class="caret"></span> | ||
+ | <ul class='dropdown-menu'> | ||
+ | <li><a href="https://2018.igem.org/Team:SCAU-China/Safety">Safety</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a href="javascript:void(0)">HUMAN PRACTICES</a> | ||
+ | <span class="caret"></span> | ||
+ | <ul class='dropdown-menu'> | ||
+ | <li><a href="#">Integrated</a></li> | ||
+ | <li><a href="#">Engagement</a></li> | ||
+ | <li><a href="#">Entrepreneurship</a></li> | ||
+ | <li><a href="#"></a></li> | ||
+ | <li><a href="#"></a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="mainDiv"> | ||
+ | <div class="heart"> | ||
+ | <!-- 版心 --> | ||
+ | <div id="mask"> | ||
+ | <!-- 半透明底板 --> | ||
+ | <div class="DBoard" id="title"> | ||
+ | interlab | ||
</div> | </div> | ||
− | <div class=" | + | <div class="DBoard" id="article1"> |
− | + | <!-- 展板 --> | |
− | + | <p>The goal of the iGEM InterLab Study is reliable and repeatable measurement which is a key component to synthetic biology. We took part in the 5th International InterLab Measurement Study and the big question is</p> | |
− | + | <p> “Can we reduce lab-to-lab variability in fluorescence measurements by normalizing to absolute cell count or colony-forming units (CFUs) instead of OD? ”</p> | |
− | + | <h1>Parts</h1> | |
− | + | <p>Interlab test devices used, as set by the iGEM measurement committee</p> | |
− | + | <table> | |
− | + | <tr> | |
− | + | <th>Device</th> | |
− | + | <th>Part Number</th> | |
− | + | <th>Location</th> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td>Negative control</td> | |
− | + | <td>BBa_R0040</td> | |
− | + | <td>Well 2D</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td>Positive control</td> | |
− | + | <td>BBa_I20270</td> | |
− | + | <td>Well 2B</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td>Test Device 1</td> | |
− | </ | + | <td>BBa_J364000</td> |
− | </ | + | <td>Well 2F</td> |
− | < | + | </tr> |
− | < | + | <tr> |
− | < | + | <td>Test Device 2</td> |
− | < | + | <td>BBa_J364001</td> |
− | + | <td>Well 2H</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | </ | + | <td>Test Device 3</td> |
− | < | + | <td>BBa_J364002</td> |
− | < | + | <td>Well 2J</td> |
− | < | + | </tr> |
− | < | + | <tr> |
− | + | <td>Test Device 4</td> | |
− | + | <td>BBa_J364007</td> | |
− | + | <td>Well 2L</td> | |
− | </ | + | </tr> |
− | < | + | <tr> |
− | < | + | <td>Test Device 5</td> |
− | < | + | <td>BBa_J364008</td> |
− | < | + | <td>Well 2N</td> |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td>Test Device 6</td> | |
− | + | <td>BBa_J364009</td> | |
− | + | <td>Well 2P</td> | |
− | </ | + | </tr> |
− | < | + | </table> |
− | < | + | <p>the preparation of competent cells(Escherichia coli strain DH5α) and their transformation according to the cell measurement protocol. Meanwile, we followed the Calibration Protocols supplied by the iGEM HQ to generate OD600 Reference point, Particle Standard Curve and Fluorescence standard curve to calibrate the plate reader(96 well plate) and then measured both the fluorescence and absorbance of our samples in 0-hour and 6-hour. </p> |
− | < | + | <p>We used the set protocol that we were given so as to ensure everyone was doing the same thing. These can be found at <a href="https://2018.igem.org/Team:SCAU-China/Protocol">this</a></p> |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
− | </ | + | |
− | < | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
+ | <p>School's name:SCAU</p> | ||
+ | <p>Member's name:SCAU</p> | ||
+ | <p>Designed by:SCAU</p> | ||
</div> | </div> | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | + | <!-- 回到顶部按钮 --> | |
− | + | <em id="toTop"></em> | |
− | + | <script> | |
− | + | var dropdownBoxs = document.getElementsByClassName('dropdown'); | |
− | + | var dropdownMenus = document.getElementsByClassName('dropdown-menu'); | |
− | + | for (let i = 0; i < dropdownBoxs.length; i++) { | |
− | + | // console.log(dropdownBoxs[i]); | |
− | + | // console.log(dropdownMenus[i]); | |
− | + | dropdownBoxs[i].index = i; | |
− | + | dropdownBoxs[i].onclick = function() { | |
− | + | var styles = document.defaultView.getComputedStyle(dropdownMenus[i]) || dropdownMenus[i].currentStyle; | |
− | + | // console.log(styles.display); | |
− | + | if (styles.display == 'none') { | |
− | + | for (let j = 0; j < dropdownBoxs.length; j++) { | |
− | + | dropdownMenus[j].style.display = 'none'; | |
− | + | dropdownMenus[i].style.display = 'block'; | |
− | + | } | |
− | + | } else { | |
− | + | for (let j = 0; j < dropdownBoxs.length; j++) { | |
− | + | dropdownMenus[j].style.display = 'none'; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
} | } | ||
− | </script> | + | } |
− | + | } | |
− | + | </script> | |
− | + | <script type="text/javascript"> | |
− | + | var a = function() { | |
− | + | ||
var box01 = document.getElementById("lists-DB"); | var box01 = document.getElementById("lists-DB"); | ||
− | var lis = document.getElementById("lists");//获得轮播图图片盒子 | + | var lis = document.getElementById("lists"); //获得轮播图图片盒子 |
− | var btns = document.getElementById("buttons");//获得按钮盒子 | + | var btns = document.getElementById("buttons"); //获得按钮盒子 |
− | var imgs = lis.getElementsByTagName("img");//获得图片伪数组 | + | var imgs = lis.getElementsByTagName("img"); //获得图片伪数组 |
btns.style.width = 24 * (imgs.length - 2) + "px"; | btns.style.width = 24 * (imgs.length - 2) + "px"; | ||
− | btns.style.marginLeft = -(12 * (imgs.length - 2)) + "px";//动态赋值 | + | btns.style.marginLeft = -(12 * (imgs.length - 2)) + "px"; //动态赋值 |
− | for(var i = 0;i < imgs.length - 2; i++){ | + | for (var i = 0; i < imgs.length - 2; i++) { |
//动态生成小圆点 | //动态生成小圆点 | ||
var span = document.createElement("span"); | var span = document.createElement("span"); | ||
Line 537: | Line 554: | ||
var prev = document.getElementById("arr-l"); | var prev = document.getElementById("arr-l"); | ||
var next = document.getElementById("arr-r"); | var next = document.getElementById("arr-r"); | ||
− | var animated = false;//防止计时器多次被触发变量 | + | var animated = false; //防止计时器多次被触发变量 |
function animate(offset) { | function animate(offset) { | ||
− | var time = 300;//滚动一张图片总用时 | + | var time = 300; //滚动一张图片总用时 |
− | var inteval = 10;//滚动一次的间隔时间 | + | var inteval = 10; //滚动一次的间隔时间 |
− | var speed = offset / (time / inteval);//每次滚动滑动的像素 | + | var speed = offset / (time / inteval); //每次滚动滑动的像素 |
− | var left = parseInt(lis.style.left) + offset;//先计算出滚动后的left值 | + | var left = parseInt(lis.style.left) + offset; //先计算出滚动后的left值 |
function go() { | function go() { | ||
− | animated = true;//为true代表正在运行 | + | animated = true; //为true代表正在运行 |
//滑动函数 | //滑动函数 | ||
− | if(((speed > 0) + (parseInt(lis.style.left) < left)===2) || ((speed < 0) + (parseInt(lis.style.left)) > left===2)){ | + | if (((speed > 0) + (parseInt(lis.style.left) < left) === 2) || ((speed < 0) + (parseInt(lis.style.left)) > left === 2)) { |
lis.style.left = parseInt(lis.style.left) + speed + "px"; | lis.style.left = parseInt(lis.style.left) + speed + "px"; | ||
− | setTimeout(go,inteval);//设置计时器 | + | setTimeout(go, inteval); //设置计时器 |
− | } | + | } else { |
− | + | ||
lis.style.left = left + "px"; | lis.style.left = left + "px"; | ||
− | if(parseInt(lis.style.left) > -1000) lis.style.left = -(1000 * (imgs.length - 2)) + "px"; | + | if (parseInt(lis.style.left) > -1000) lis.style.left = -(1000 * (imgs.length - 2)) + "px"; |
− | if(parseInt(lis.style.left) < -(1000 * (imgs.length - 2))) lis.style.left = -1000 + "px"; | + | if (parseInt(lis.style.left) < -(1000 * (imgs.length - 2))) lis.style.left = -1000 + "px"; |
− | animated = false;//结束运行 | + | animated = false; //结束运行 |
} | } | ||
} | } | ||
− | go();//调用函数 | + | go(); //调用函数 |
− | + | ||
} | } | ||
prev.onclick = function() { | prev.onclick = function() { | ||
− | if(animated) return;//正在轮播停止 | + | if (animated) return; //正在轮播停止 |
− | if(index == 0) index = spans.length - 1; | + | if (index == 0) index = spans.length - 1; |
− | else index --; | + | else index--; |
animate(1000); | animate(1000); | ||
showButton(); | showButton(); | ||
} | } | ||
next.onclick = function() { | next.onclick = function() { | ||
− | if(animated) return; | + | if (animated) return; |
− | if(index == spans.length - 1) index = 0; | + | if (index == spans.length - 1) index = 0; |
− | else index ++; | + | else index++; |
animate(-1000); | animate(-1000); | ||
showButton(); | showButton(); | ||
} | } | ||
− | var index = 0;//记录现在className为on的按钮 | + | var index = 0; //记录现在className为on的按钮 |
− | var spans = btns.getElementsByTagName("span");//得到btns下所有的span标签 | + | var spans = btns.getElementsByTagName("span"); //得到btns下所有的span标签 |
spans[0].className = "on"; | spans[0].className = "on"; | ||
− | for(var i = 0;i < spans.length;i ++ ) { | + | for (var i = 0; i < spans.length; i++) { |
− | spans[i].index = i;//自定义属性 | + | spans[i].index = i; //自定义属性 |
spans[i].onclick = function() { | spans[i].onclick = function() { | ||
− | if(animated) return; | + | if (animated) return; |
− | if(this.className == "on") return; | + | if (this.className == "on") return; |
animate((index - this.index) * 1000); | animate((index - this.index) * 1000); | ||
index = this.index; | index = this.index; | ||
Line 591: | Line 607: | ||
function showButton() { //显示按钮运动的函数 | function showButton() { //显示按钮运动的函数 | ||
− | for(var j = 0;j < spans.length;j ++) {//排它思想 | + | for (var j = 0; j < spans.length; j++) { //排它思想 |
− | + | //if(spans[j].className == "on") oldIndex = j; | |
− | + | spans[j].className = ""; | |
− | + | spans[index].className = "on"; | |
} | } | ||
} | } | ||
− | var timer;//计时器变量 , 这里为什么不能为null | + | var timer; //计时器变量 , 这里为什么不能为null |
− | var interval = 3000;//点击间隔时间 | + | var interval = 3000; //点击间隔时间 |
− | function play() {//自动点击next函数 | + | function play() { //自动点击next函数 |
− | timer = setTimeout(function(){ | + | timer = setTimeout(function() { |
− | next.onclick();//自动点击next | + | next.onclick(); //自动点击next |
− | play();//递归调用 | + | play(); //递归调用 |
− | },interval); | + | }, interval); |
} | } | ||
Line 615: | Line 631: | ||
box01.onmouseover = stop; //鼠标悬浮在轮播图上时停止 | box01.onmouseover = stop; //鼠标悬浮在轮播图上时停止 | ||
− | box01.onmouseout = play;//鼠标离开轮播图继续 | + | box01.onmouseout = play; //鼠标离开轮播图继续 |
− | play();//先自己调用一次 | + | play(); //先自己调用一次 |
} | } | ||
a(); | a(); | ||
− | + | </script> | |
− | + | <script type="text/javascript"> | |
− | + | //封装函数js文件,方便调用 | |
− | + | function $(id) { return document.getElementById(id); } //封装获取id对象函数 | |
− | + | function show(obj) { obj.style.display = "block"; } //封装显示函数 | |
− | + | function hidden(obj) { obj.style.display = "none"; } //封装隐藏函数 | |
− | + | function scroll() { | |
− | + | if (window.pageYOffset != null) { | |
− | + | //ie9+ 和 其他浏览器 | |
− | + | return { | |
− | + | top: window.pageYOffset, | |
− | + | left: window.pageXOffset | |
− | + | ||
} | } | ||
− | + | } else if (document.compatMode == "CSS1Compat") { | |
− | + | //非怪异浏览器:没有头部的 | |
− | + | return { | |
− | + | top: document.documentElement.scrollTop, | |
− | + | left: document.documentElement.scrollLeft | |
− | + | ||
− | + | ||
− | return { | + | |
− | top: document. | + | |
− | left: document. | + | |
} | } | ||
} | } | ||
− | + | return { //剩下的全部都是怪异浏览器 | |
− | + | top: document.body.scrollTop, | |
− | + | left: document.body.scrollLeft | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | } | ||
− | $("toTop").onclick = function() { | + | var leader = 0, |
− | + | target = 0, | |
− | + | timer = null; //计时器变量 | |
− | + | window.onscroll = function() { | |
− | + | //滚动时执行的函数 | |
− | + | scroll().top > 0 ? show($("toTop")) : hidden($("toTop")); //隐藏和显示totop | |
− | + | leader = scroll().top; //实时记录滚动距离 | |
− | + | } | |
− | + | ||
− | + | $("toTop").onclick = function() { | |
+ | //toTop被点击时执行的函数 | ||
+ | target = 0; | ||
+ | timer = setInterval(function() { | ||
+ | leader = leader + (target - leader) / 10; | ||
+ | window.scrollTo(0, leader); | ||
+ | if (leader == target) clearInterval(timer); //当到达顶端清除计时器 | ||
+ | //必须写在里面,因为在计时器执行时判断 | ||
+ | }, 20); | ||
+ | } | ||
+ | </script> | ||
− | |||
</html> | </html> |
Revision as of 13:56, 29 September 2018
The goal of the iGEM InterLab Study is reliable and repeatable measurement which is a key component to synthetic biology. We took part in the 5th International InterLab Measurement Study and the big question is
“Can we reduce lab-to-lab variability in fluorescence measurements by normalizing to absolute cell count or colony-forming units (CFUs) instead of OD? ”
Parts
Interlab test devices used, as set by the iGEM measurement committee
Device | Part Number | Location |
---|---|---|
Negative control | BBa_R0040 | Well 2D |
Positive control | BBa_I20270 | Well 2B |
Test Device 1 | BBa_J364000 | Well 2F |
Test Device 2 | BBa_J364001 | Well 2H |
Test Device 3 | BBa_J364002 | Well 2J |
Test Device 4 | BBa_J364007 | Well 2L |
Test Device 5 | BBa_J364008 | Well 2N |
Test Device 6 | BBa_J364009 | Well 2P |
the preparation of competent cells(Escherichia coli strain DH5α) and their transformation according to the cell measurement protocol. Meanwile, we followed the Calibration Protocols supplied by the iGEM HQ to generate OD600 Reference point, Particle Standard Curve and Fluorescence standard curve to calibrate the plate reader(96 well plate) and then measured both the fluorescence and absorbance of our samples in 0-hour and 6-hour.
We used the set protocol that we were given so as to ensure everyone was doing the same thing. These can be found at this
School's name:SCAU
Member's name:SCAU
Designed by:SCAU