Team:NYU Gallatin
From 2012.igem.org
(Difference between revisions)
m |
|||
Line 118: | Line 118: | ||
$('#blog .loading').replaceWith('<ul />'); | $('#blog .loading').replaceWith('<ul />'); | ||
$ul = $('#blog ul'); | $ul = $('#blog ul'); | ||
- | for (var i=0; i< | + | for (var i=0; i<4; i++) { |
var p = posts[i]; | var p = posts[i]; | ||
var title = p['regular-title'] || p['link-text'] || null; | var title = p['regular-title'] || p['link-text'] || null; | ||
Line 125: | Line 125: | ||
var dateMonth = months[date.getMonth()]; | var dateMonth = months[date.getMonth()]; | ||
var dateDay = date.getDate(); | var dateDay = date.getDate(); | ||
- | var html = | + | var html = dateMonth+' '+dateDay+' <a href="'+p['url']+'" rel="lightframe">'+title+'<br />'; |
$ul.append(html); | $ul.append(html); | ||
} | } | ||
Line 137: | Line 137: | ||
<div class="loading">Loading...</div> | <div class="loading">Loading...</div> | ||
</div> | </div> | ||
+ | <p><a href="http://aseatobacter.tumblr.com" target="_new">View More Blog Posts</a></p> | ||
<!-- Bottom of the page, probably. Change host --><script src="http://aseatobacter.tumblr.com/api/read/json?callback=tumblr&num=10" type="text/javascript"></script> </div> | <!-- Bottom of the page, probably. Change host --><script src="http://aseatobacter.tumblr.com/api/read/json?callback=tumblr&num=10" type="text/javascript"></script> </div> | ||
</div> | </div> | ||
Line 188: | Line 189: | ||
<div class="content"> | <div class="content"> | ||
- | < | + | <iframe width="250" height="200" src="http://www.youtube.com/embed/EBZTe9RWZLo" frameborder="0" allowfullscreen=""></iframe> </div> |
- | + | ||
- | + | ||
</div> | </div> | ||
<div id="block-block-6" class="block block-block"> | <div id="block-block-6" class="block block-block"> |
Latest revision as of 02:50, 4 October 2012