Team:NYU Gallatin/

From 2012.igem.org

(Difference between revisions)
m
 
(10 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-311"><a href="/Team:NYU_Gallatin/Notebook" title="Lab notebooks, news, &amp; photos.">Notebook</a></li>
+
<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&amp;team_name=NYU_Gallatin" title="Official iGEM 2012 profile.">Profile</a></li>
+
<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 76: Line 76:
             var md = $(this);
             var md = $(this);
             var allopts = $.extend(true, {}, defoptions, options);
             var allopts = $.extend(true, {}, defoptions, options);
-
 
+
            $.getJSON('http://gdata.youtube.com/feeds/api/users/' + allopts.user + '/uploads?alt=jsonc&v=2', null, function(data) {
-
var amp = '%';
+
-
amp += '20';
+
-
var youurl = "'http://gdata.youtube.com/feeds/api/users/' + allopts.user + '/uploads?alt=jsonc&v=2'";
+
-
var youurl_fixed = youurl.replace('&amp;', amp);
+
-
 
+
-
            $.getJSON(youurl_fixed, null, function(data) {
+
                 var videos = [];
                 var videos = [];
                 var playlist = '';
                 var playlist = '';
Line 124: Line 118:
$('#blog .loading').replaceWith('<ul />');
$('#blog .loading').replaceWith('<ul />');
$ul = $('#blog ul');
$ul = $('#blog ul');
-
for (var i=0; i<posts.length; i++) {
+
for (var i=0; i<4; i++) {
var p = posts[i];
var p = posts[i];
-
console.debug(p);
 
                 var title = p['regular-title'] || p['link-text'] || null;
                 var title = p['regular-title'] || p['link-text'] || null;
if (title) {
if (title) {
Line 132: Line 125:
                         var dateMonth = months[date.getMonth()];
                         var dateMonth = months[date.getMonth()];
                         var dateDay = date.getDate();
                         var dateDay = date.getDate();
-
                         var html = '<li><b class="homedate">'+dateMonth+'<\/b><span class="homedate">'+dateDay+'<\/span> <a href="'+p['url']+'" rel="lightframe">'+title+'<\/a><\/li>';
+
                         var html = dateMonth+' '+dateDay+' <a href="'+p['url']+'" rel="lightframe">'+title+'<br />';
$ul.append(html);
$ul.append(html);
                 }
                 }
Line 144: 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&amp;num=10" type="text/javascript"></script>  </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>
</div>
</div>
<div id="block-block-9" class="block block-block">
<div id="block-block-9" class="block block-block">
Line 156: Line 150:
<!--//--><![CDATA[// ><!--
<!--//--><![CDATA[// ><!--
-
$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id=85815851@N04&amp;tags=featured&amp;lang=en-us&amp;format=json&amp;jsoncallback=?", displayImages);
+
if($('#images').length != 0) {
-
function displayImages(data) {
+
 
-
    // Start putting together the HTML string
+
  setTimeout(function() {$.getJSON(flickr_url, displayImages);},1500);
-
    var htmlString = "";
+
  function displayImages(data) {
-
   
+
      // Start putting together the HTML string
-
    // Now start cycling through our array of Flickr photo details
+
      var htmlString = "";
-
    var k=0;
+
     
-
    $.each(data.items, function(i,item){
+
      // Now start cycling through our array of Flickr photo details
-
      if(k == 0) {
+
      var k=0;
-
        // I only want the ickle square thumbnails
+
      $.each(data.items, function(i,item){
-
//      var sourceSquare = (item.media.m).replace("_m.jpg", "_s.jpg");
+
          if(k == 0) {
-
        var sourceSquare = item.media.m;
+
          // I only want the ickle square thumbnails
-
      var l_sourceSquare = (item.media.m).replace("_m.jpg", "_b.jpg");
+
    //      var sourceSquare = (item.media.m).replace("_m.jpg", "_s.jpg");
-
       
+
          var sourceSquare = item.media.m;
-
        // Here's where we piece together the HTML
+
          var l_sourceSquare = (item.media.m).replace("_m.jpg", "_b.jpg");
-
        htmlString += '<li><a href="'+l_sourceSquare+'" rel="lightbox">';
+
         
-
        htmlString += '<img title="' + item.title + '" src="' + sourceSquare;
+
          // Here's where we piece together the HTML
-
        htmlString += '" alt="'; htmlString += item.title + '" />';
+
          htmlString += '<li><a href="'+l_sourceSquare+'" rel="lightbox">';
-
        htmlString += '';
+
          htmlString += '<img title="' + item.title + '" src="' + sourceSquare;
-
        k++;
+
          htmlString += '" alt="'; htmlString += item.title + '" />';
-
      }     
+
          htmlString += '';
-
    });
+
          k++;
-
   
+
        }     
-
    // Pop our HTML in the #images DIV
+
      });
-
    $('#images').html(htmlString);
+
     
-
   
+
      // Pop our HTML in the #images DIV
-
    // Close down the JSON function call
+
      $('#images').html(htmlString);
 +
  }
-
    Drupal.attachBehaviors();
 
}
}
Line 195: Line 189:
    
    
   <div class="content">
   <div class="content">
-
     <div id="featured_video"></div>
+
     <iframe width="250" height="200" src="http://www.youtube.com/embed/EBZTe9RWZLo" frameborder="0" allowfullscreen=""></iframe>  </div>
-
<p><a href="/Notebook/Videos" class="more-link">More Videos</a></p>
+
-
<script type="text/javascript">
+
-
 
+
-
<!--//--><![CDATA[// ><!--
+
-
 
+
-
var featured_url = "http://gdata.youtube.com/feeds/api/playlists/8340F2FAB32CAB64?alt=jsonc%20v=2";
+
-
$.get(featured_url, function(data) {
+
-
  var src = 'http://www.youtube.com/embed/' + data.data.items[0].video.id + '?width=250%20height=180';
+
-
  ifr = $('<iframe scrolling="no" frameborder="no">');
+
-
  ifr.attr({'src': src, width: 250, height: 180});
+
-
  $('#featured_video').html(ifr);
+
-
});
+
-
 
+
-
//--><!]]>
+
-
 
+
-
</script>  </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

Cellulose Architecture

We grow chairs.

In a world full of lifeless interiors and boxed pressed wood a miracle of biology is changing the way we create our surroundings.

Latest News

Keep up with the latest news from the Aseatobacter project.

Loading...

View More Blog Posts

Featured Photo

More Photos

Featured Video

What we want.

Our project seeks to improve the characteristics of cellulose secreted by the gram negative bacterium Acetobacter xylinum. This naturally occurring "chassis" secretes large amounts of cellulose into solution and has been studied for many years. We wish to improve the material properties of this bacterial cellulose by genetically engineering the strain to incorporate color, improved tensile strength and increased hydrophobicity into the improved cellulose based material. After testing it's properties, we will use this material to build larger scale objects.