Team:Goettingen/NoteBook/timeline

From 2013.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 97: Line 97:
fbutton = [];
fbutton = [];
-
//与jq中的toggle函数相似,简化版本
 
-
function toggle(target){
 
-
  if(getComputedStyle(target,null).display == "none"){
 
-
            target.style.display = "block"
 
-
    } else {target.style.display = "none"}
 
-
}
 
//网页最下加载更多按钮
//网页最下加载更多按钮
Line 118: Line 112:
}
}
-
//更新页面,主要为1、重新抓取tlt,tlc,fbutton数组,定义onclick event;2、更新时间“线”长度
+
//更新页面,主要为1、重新抓取tlt,tlc,fbutton数组,定义onclick event;
function updatePage(){
function updatePage(){
   if(woche == -2){document.getElementById("loadmore").style.display = 'none'} else {document.getElementById("loadmore").style.display = 'block';}
   if(woche == -2){document.getElementById("loadmore").style.display = 'none'} else {document.getElementById("loadmore").style.display = 'block';}
Line 282: Line 276:
<div id="loadmore" class="bt" onclick="loadmore()">Load More ▼</div>
<div id="loadmore" class="bt" onclick="loadmore()">Load More ▼</div>
</div><!--close col-right>
</div><!--close col-right>
-
 
+
</div><!--close f-box-->
 +
</div><!--close body-->
</html>
</html>

Latest revision as of 12:52, 17 October 2013





The beast and its Achilles heel:

 A novel target to fight multi-resistant pathogenic bacteria



Load More ▼