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 = []; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
//网页最下加载更多按钮 | //网页最下加载更多按钮 | ||
Line 118: | Line 112: | ||
} | } | ||
- | //更新页面,主要为1、重新抓取tlt,tlc,fbutton数组,定义onclick | + | //更新页面,主要为1、重新抓取tlt,tlc,fbutton数组,定义onclick event; |
function updatePage(){ | function updatePage(){ | ||
- | if(woche == | + | 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