Team:Goettingen/NoteBook/timeline

From 2013.igem.org

(Difference between revisions)
(Navigation)
 
(5 intermediate revisions not shown)
Line 5: Line 5:
p{font-size:11pt;line-height:1.2em}
p{font-size:11pt;line-height:1.2em}
-
.timeline-cont {display:none}
+
.timeline-cont {display:none;padding-bottom:40px}
.monat{    font-size: 20pt;
.monat{    font-size: 20pt;
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 == 1){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';}
   tlob = document.getElementsByClassName("tlob");
   tlob = document.getElementsByClassName("tlob");
   tlt = document.getElementsByClassName("timeline-title");
   tlt = document.getElementsByClassName("timeline-title");
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 ▼