Team:NYU Gallatin/
From 2012.igem.org
(Difference between revisions)
m |
|||
(3 intermediate revisions not shown) | |||
Line 8: | Line 8: | ||
<li class="menu-308"><a href="/Team:NYU_Gallatin/Parts" title="Our work with the parts registry.">Parts</a></li> | <li class="menu-308"><a href="/Team:NYU_Gallatin/Parts" title="Our work with the parts registry.">Parts</a></li> | ||
<li class="menu-310"><a href="/Team:NYU_Gallatin/Modeling" title="How we put it all together.">Modeling</a></li> | <li class="menu-310"><a href="/Team:NYU_Gallatin/Modeling" title="How we put it all together.">Modeling</a></li> | ||
- | <li class="menu- | + | <li class="menu-584"><a href="/Team:NYU_Gallatin/Notebook" title="Lab notebooks, news, and photos.">Notebook</a></li> |
<li class="menu-312"><a href="/Team:NYU_Gallatin/Safety" title="Our commitment to safety.">Safety</a></li> | <li class="menu-312"><a href="/Team:NYU_Gallatin/Safety" title="Our commitment to safety.">Safety</a></li> | ||
<li class="menu-313"><a href="/Team:NYU_Gallatin/Attributions" title="Give credit where credit is due.">Attributions</a></li> | <li class="menu-313"><a href="/Team:NYU_Gallatin/Attributions" title="Give credit where credit is due.">Attributions</a></li> | ||
- | <li class="menu-306 last"><a href="https://igem.org/Team.cgi?year=2012& | + | <li class="menu-306 last"><a href="https://igem.org/Team.cgi?year=2012&team_name=NYU_Gallatin" title="Official iGEM 2012 profile.">Profile</a></li> |
</ul></div> <!-- /#main-menu --> | </ul></div> <!-- /#main-menu --> | ||
<div id="page-wrapper"><div id="page"> | <div id="page-wrapper"><div id="page"> | ||
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; | ||
if (title) { | if (title) { | ||
Line 126: | 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 138: | Line 137: | ||
<div class="loading">Loading...</div> | <div class="loading">Loading...</div> | ||
</div> | </div> | ||
- | <!-- Bottom of the page, probably. Change host --><script src="http://aseatobacter.tumblr.com/api/read/json?callback=tumblr& | + | <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> | ||
</div> | </div> | ||
<div id="block-block-9" class="block block-block"> | <div id="block-block-9" class="block block-block"> | ||
Line 152: | Line 152: | ||
if($('#images').length != 0) { | if($('#images').length != 0) { | ||
- | $.getJSON(flickr_url, displayImages); | + | setTimeout(function() {$.getJSON(flickr_url, displayImages);},1500); |
function displayImages(data) { | function displayImages(data) { | ||
// Start putting together the HTML string | // Start putting together the HTML string | ||
Line 177: | Line 177: | ||
// Pop our HTML in the #images DIV | // Pop our HTML in the #images DIV | ||
$('#images').html(htmlString); | $('#images').html(htmlString); | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 193: | 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:47, 4 October 2012