Team:Waterloo

From 2013.igem.org

(Difference between revisions)
(Fixed navigation bug with arrow key movements)
(Second design with some content. Laggy due to high-resolution photos which will be swapped out soon.)
Line 1: Line 1:
<html>
<html>
-
<head>
+
  <head>
 +
    <!--<script type="text/javascript" src="https://2013.igem.org/common/jquery-latest.min.js"></script>-->
     <style type="text/css">
     <style type="text/css">
-
        /* Restyling existing mediaWiki-style content in the header and footer */
+
      /* Restyling existing mediaWiki-style content in the header and footer */
-
        .firstHeading, #footer-box, #catlinks, #contentSub {
+
      .firstHeading, #footer-box, #catlinks, #contentSub {
-
            display: none;
+
        display: none;
-
        }
+
      }
-
        #globalWrapper {
+
      #globalWrapper {
-
            background-color: black;
+
        background-color: black;
-
            overflow-x: hidden;
+
        overflow-x: hidden;
-
        }
+
      }
-
        #p-logo {
+
      #p-logo {
-
            background-color: black;
+
        background-color: black;
-
        }
+
      }
-
        #top-section {
+
      #top-section {
-
            border: none;
+
        border: none;
-
            height: 150px;
+
        height: 150px;
-
        }
+
      }
-
        #content {
+
      #content {
-
            border: none;
+
        border: none;
-
            padding-top: 0;
+
        padding-top: 0;
-
            padding-bottom: 0;
+
        padding-bottom: 0;
-
        }
+
      }
-
        /* Removes "teams" from the menubar */
+
      /* Removes "teams" from the menubar */
-
        #menubar.left-menu > ul > li:last-child {
+
      #menubar.left-menu > ul > li:last-child {
-
            display: none;
+
        display: none;
-
        }
+
      }
-
        /* Resizes the menubar to fix the links */
+
      /* Resizes the menubar to fix the links */
-
        #menubar {
+
      #menubar {
-
            width: auto;
+
        width: auto;
-
            background-color: black;
+
        background-color: black;
-
        }
+
      }
-
        #menubar > ul > li > a {
+
      #menubar > ul > li > a {
-
            background-color: black;
+
        background-color: black;
-
        }
+
      }
-
        /* End of restyling existing mediaWiki content */
+
      /* End of restyling existing mediaWiki content */
-
         .layer {
+
      .hiddenElement {
-
            position: absolute;
+
         display: none;
-
            height: 800px;
+
      }
-
            width: 18000px;
+
      .layer {
-
        }
+
        position: absolute;
-
        #layer0 {
+
        height: 800px;
-
            z-index: 1;
+
        width: 18000px;
-
            width: 1905px;
+
      }
-
            left: -465px;
+
      #layer0 {
 +
        z-index: 1;
 +
        width: 1905px;
 +
        left: -465px;
 +
        background-image: url('https://static.igem.org/mediawiki/2013/6/68/Waterloo_dark_background.jpg');
 +
        background-size: 1905px;
 +
      }
 +
      #layer1 {
 +
        z-index: 10;
 +
      }
 +
      #pageContainer {
 +
      }
 +
      .page {
 +
        height: 800px;
 +
        width: 1905px;
 +
        float: left;
 +
        overflow: hidden;
 +
      }
 +
      .pageStuff {
 +
        color: white;
 +
        overflow-y: scroll;
 +
        width: 685px;
 +
        height: 800px;
 +
        margin-left: 745px;
 +
        padding-top: 15px;
 +
      }
 +
      .pageStuff h1 {
 +
        color: white;
 +
        font-size: 28px;
 +
      }
 +
      .pageStuff p {
 +
        margin-left: 20px;
 +
        font-size: 16px;
 +
      }
 +
      .pageStuff::-webkit-scrollbar {
 +
        display: none;
 +
      }
 +
      .navBar {
 +
        z-index: 20;
 +
        position: absolute;
 +
        width: 225px;
 +
        height: 730px;
 +
        /*left: 465px;*/
 +
        padding: 10px 20px 10px 20px;
 +
        color: white;
-
            /* http://www.colorzilla.com/gradient-editor/#e4f5fc+0,bfe8f9+34,9fd8ef+63,2ab0ed+100;Custom */
+
        /* http://www.colorzilla.com/gradient-editor/#006e2e+0,00e059+100;Custom */
-
            background: rgb(228,245,252); /* Old browsers */
+
        background: rgb(0,110,46); /* Old browsers */
-
            background: -moz-linear-gradient(left,  rgba(228,245,252,1) 0%, rgba(191,232,249,1) 34%, rgba(159,216,239,1) 63%, rgba(42,176,237,1) 100%); /* FF3.6+ */
+
        background: -moz-linear-gradient(45deg,  rgba(0,110,46,1) 0%, rgba(0,224,89,1) 100%); /* FF3.6+ */
-
            background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(228,245,252,1)), color-stop(34%,rgba(191,232,249,1)), color-stop(63%,rgba(159,216,239,1)), color-stop(100%,rgba(42,176,237,1))); /* Chrome,Safari4+ */
+
        background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,rgba(0,110,46,1)), color-stop(100%,rgba(0,224,89,1))); /* Chrome,Safari4+ */
-
            background: -webkit-linear-gradient(left,  rgba(228,245,252,1) 0%,rgba(191,232,249,1) 34%,rgba(159,216,239,1) 63%,rgba(42,176,237,1) 100%); /* Chrome10+,Safari5.1+ */
+
        background: -webkit-linear-gradient(45deg,  rgba(0,110,46,1) 0%,rgba(0,224,89,1) 100%); /* Chrome10+,Safari5.1+ */
-
            background: -o-linear-gradient(left,  rgba(228,245,252,1) 0%,rgba(191,232,249,1) 34%,rgba(159,216,239,1) 63%,rgba(42,176,237,1) 100%); /* Opera 11.10+ */
+
        background: -o-linear-gradient(45deg,  rgba(0,110,46,1) 0%,rgba(0,224,89,1) 100%); /* Opera 11.10+ */
-
            background: -ms-linear-gradient(left,  rgba(228,245,252,1) 0%,rgba(191,232,249,1) 34%,rgba(159,216,239,1) 63%,rgba(42,176,237,1) 100%); /* IE10+ */
+
        background: -ms-linear-gradient(45deg,  rgba(0,110,46,1) 0%,rgba(0,224,89,1) 100%); /* IE10+ */
-
            background: linear-gradient(to right,  rgba(228,245,252,1) 0%,rgba(191,232,249,1) 34%,rgba(159,216,239,1) 63%,rgba(42,176,237,1) 100%); /* W3C */
+
        background: linear-gradient(45deg,  rgba(0,110,46,1) 0%,rgba(0,224,89,1) 100%); /* W3C */
-
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4f5fc', endColorstr='#2ab0ed',GradientType=1 ); /* IE6-9 */
+
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006e2e', endColorstr='#00e059',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
-
        }
+
      }
-
        #layer1{
+
      h1 {
-
            z-index: 10;
+
        border-bottom: 0;
-
        }
+
      }
-
        #layer1 img {
+
      .navBar h1 {
-
            position: absolute;
+
        margin-left: auto;
-
         }
+
         margin-right: auto;
-
         #layer2 {
+
         color: white;
-
            z-index: 20;
+
        font-size: 30px;
-
         }
+
         font-weight: bold;
-
         #pageContainer {
+
         font-family: Verdana, sans-serif;
-
        }
+
      }
-
        .page {
+
      .navBar a {
-
            /*background-color: white;*/
+
        font-family: Verdana, sans-serif;
-
            height: 800px;
+
        color: white;
-
            width: 1905px;
+
        display: block;
-
            /*display: inline-block;*/
+
        margin: 10px 0 10px 0;
-
            float: left;
+
        text-decoration: none;
-
            padding: 0;
+
      }
-
            overflow: hidden;
+
      .navBar p {
-
        }
+
        font-size: 14px;
-
         .pageBar {
+
      }
-
            width: 350px;
+
      .navBar ul {
-
            height: 730px;
+
        list-style-type: none;
-
            margin-left: 350px;
+
        list-style-image: none;
-
            padding: 60px 30px 10px 30px;
+
      }
-
            color: white;
+
      .placeHolder {
 +
         height: 800px;
 +
      }
 +
      .largeLogo {
 +
        width: 575px;
 +
        margin: 150px 0 0 50px;
 +
      }
 +
      /*
 +
      .scrollingSection {
 +
        overflow-y: scroll;
 +
        height: 500px;
 +
      }
 +
      */
 +
      .pageLinks {
 +
        margin: 40px 0 10px 0;
 +
      }
-
            /* http://www.colorzilla.com/gradient-editor/#efae09+2,efae09+17,f1e767+69,feb645+100;Custom */
+
      /* Experimental CSS3 Animations */
-
            background: rgb(239,174,9); /* Old browsers */
+
      @keyframes startGlow {
-
            background: -moz-linear-gradient(left,  rgba(239,174,9,1) 2%, rgba(239,174,9,1) 17%, rgba(241,231,103,1) 69%, rgba(254,182,69,1) 100%); /* FF3.6+ */
+
        0%   {color: white;}
-
            background: -webkit-gradient(linear, left top, right top, color-stop(2%,rgba(239,174,9,1)), color-stop(17%,rgba(239,174,9,1)), color-stop(69%,rgba(241,231,103,1)), color-stop(100%,rgba(254,182,69,1))); /* Chrome,Safari4+ */
+
        100% {color: yellow;}
-
            background: -webkit-linear-gradient(left,  rgba(239,174,9,1) 2%,rgba(239,174,9,1) 17%,rgba(241,231,103,1) 69%,rgba(254,182,69,1) 100%); /* Chrome10+,Safari5.1+ */
+
      }
-
            background: -o-linear-gradient(left,  rgba(239,174,9,1) 2%,rgba(239,174,9,1) 17%,rgba(241,231,103,1) 69%,rgba(254,182,69,1) 100%); /* Opera 11.10+ */
+
-
            background: -ms-linear-gradient(left,  rgba(239,174,9,1) 2%,rgba(239,174,9,1) 17%,rgba(241,231,103,1) 69%,rgba(254,182,69,1) 100%); /* IE10+ */
+
-
            background: linear-gradient(to right,  rgba(239,174,9,1) 2%,rgba(239,174,9,1) 17%,rgba(241,231,103,1) 69%,rgba(254,182,69,1) 100%); /* W3C */
+
-
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efae09', endColorstr='#feb645',GradientType=1 ); /* IE6-9 */
+
-
        }
+
      @-webkit-keyframes startGlow /* Safari and Chrome */ {
-
        .pageLinks {
+
         0{color: white;}
-
            margin: 40px 0 10px 0;
+
         100% {color: yellow;}
-
         }
+
      }
-
        .pageBar h1 {
+
-
            margin-left: auto;
+
-
            margin-right: auto;
+
-
            border-bottom: 0;
+
-
            color: white;
+
-
            font-size: 30px;
+
-
            font-weight: bold;
+
-
            font-family: Verdana, sans-serif;
+
-
        }
+
-
        .pageBar a {
+
-
            font-size: 24px;
+
-
            font-family: Verdana, sans-serif;
+
-
            color: white;
+
-
            display: block;
+
-
            margin: 10px 0 10px 0;
+
-
        }
+
-
         .pageBar p {
+
-
            font-size: 14px;
+
-
        }
+
-
        .placeHolder {
+
-
            height: 800px;
+
-
        }
+
-
        .scrollingSection {
+
-
            overflow-y: scroll;
+
-
            height: 500px;
+
-
        }
+
-
        #navBar {
+
-
            /*color: #1b2c8a;*/
+
-
            /*background-color: #bbbbbb;*/
+
-
            display: none;
+
-
        }
+
-
        #otp {
+
-
            width: 100%;
+
-
            height: 100%;
+
-
        }
+
-
        #p0 .pageBar {
+
      .navBar .pageLinks a {
-
        }
+
      }
-
        #p1 .pageBar {
+
      .navBar .pageLinks a:hover {
-
         }
+
         color: yellow;
-
         #p2 .pageBar {
+
        animation: startGlow 0.5s;
-
            margin-left: 800px;
+
        -webkit-animation: startGlow 0.5s;
-
         }
+
      }
-
         #p3 .pageBar {
+
 
-
            margin-left: 1200px;
+
      .shownSublinks {
-
         }
+
      }
-
        #p4 .pageBar {
+
      .hiddenSublinks {
-
            /*margin-left: 100px;*/
+
      }
-
         }
+
      .link {
-
        #p5 .pageBar {
+
         font-size: 24px;
-
            margin-left: 1000px;
+
      }
-
         }
+
      .sublink {
-
         #p6 .pageBar {
+
        margin-left: 20px;
-
        }
+
         font-size: 20px;
-
        #p7 .pageBar {
+
      }
-
         }
+
      /* TODO animate resizing this */
 +
      .hiddenSublinks .sublink {
 +
         display: none;
 +
      }
 +
      .socialButtons {
 +
        position: absolute;
 +
        top: 590px
 +
      }
 +
      #bodyContent .socialButtons a {
 +
        background: none;
 +
        padding-right: 13px;
 +
         display: inline;
 +
      }
 +
      .photoSection {
 +
        margin-left: 20px;
 +
      }
 +
      .headshot {
 +
        /*width: 100px;*/
 +
         height: 100px;
 +
      }
 +
      .headshotWrapper {
 +
        margin: 0 15px 15px 0;
 +
         overflow: hidden;
 +
         float: left;
 +
      }
 +
      #otp {
 +
         width: 100%;
 +
        height: 100%;
 +
      }
     </style>
     </style>
     <script type="text/javascript">
     <script type="text/javascript">
-
        var pages = [
 
-
          '#/Home',
 
-
          '#/Team',
 
-
          '#/Project',
 
-
          '#/Parts',
 
-
          '#/Modeling',
 
-
          '#/Notebook',
 
-
          '#/Safety',
 
-
          '#/Attributions'
 
-
        ];
 
-
        var page_idx_map = {};
 
-
        var layer_factors = [0, 0.6, 1];
 
-
        var LAYER_OFFSET = -465;
 
-
        var page_idx = 0;
 
-
        var PAGE_WIDTH = 1905;
 
-
        var NUM_PAGES = 8;
 
-
        var NUM_LAYERS = 3;
 
-
        jQuery.easing.easeOutCubic = function(x, t, b, c, d) {
+
(function() {
-
            return c*((t=t/d-1)*t*t + 1) + b;
+
 
-
        };
+
  var pages = [
-
        function trans(idx) {
+
    '#/Home',
-
            var new_left = - idx * PAGE_WIDTH;
+
    '#/Project',
-
            for (var layer = 0; layer < NUM_LAYERS; layer++) {
+
    '#/Team',
-
                var new_left_layer = new_left * layer_factors[layer] + LAYER_OFFSET;
+
    '#/MathModelling',
-
                $('#layer' + layer).animate({left: new_left_layer},  
+
    '#/Outreach',
-
                    {
+
    '#/Gallery',
-
                        'duration': 500,
+
    '#/Notebook',
-
                        'easing': 'easeOutCubic',
+
    '#/Safety',
-
                        'queue': false
+
    '#/Sponsors'
-
                    }
+
  ];
-
                );
+
  var navBar = null;
-
            }
+
  var page_idx_map = {};
-
            page_idx = idx;
+
  var layer_factors = [0, 1, 0];
-
        }
+
  var LAYER_OFFSET = -465;
-
        function setHash(hash) {
+
  var page_idx = 0;
-
            window.location.hash = hash;
+
  var PAGE_WIDTH = 1905;
-
        }
+
  var NUM_PAGES = 9;
-
        function getHash() {
+
  var NUM_LAYERS = 2;
-
            return window.location.hash;
+
 
-
        }
+
  // TODO - put all asset urls in one place
-
        function checkHash() {
+
  var logo_url = 'https://static.igem.org/mediawiki/2013/0/08/Igem_logo.png';
-
            var hash = getHash();
+
 
-
            //console.log(hash);
+
  if (!String.prototype.format) {
-
            var idx = page_idx_map[hash];
+
    String.prototype.format = function() {
-
            if (idx == undefined) {
+
      var args = arguments;
-
                setHash(pages[ 0 ]); // Do not remove spaces - mediaWiki will choke on it
+
      return this.replace(/{(\d+)}/g, function(match, number) {
-
                return;
+
        return typeof args[number] != 'undefined'
-
            }
+
          ? args[number]
 +
          : match
 +
        ;
 +
      });
 +
    };
 +
  }
-
            trans(idx);
+
  function Link(link, text) {
 +
    this.link = link;
 +
    this.text = text;
 +
  }
 +
 
 +
  function ImageLink(link, url) {
 +
    this.link = link;
 +
    this.url = url;
 +
  }
 +
 
 +
  function NavBar() {
 +
    this.links = [];
 +
    this.sublinks = [];
 +
    this.linkWrappers = [];
 +
    this.focus = 0;
 +
  }
 +
  NavBar.prototype.addLink = function(link, sublinks) {
 +
    if (sublinks === undefined) {
 +
      sublinks = [];
 +
    }
 +
    this.links.push(link);
 +
    this.sublinks.push(sublinks);
 +
  };
 +
  NavBar.prototype.showSectionOnly = function(section_idx) {
 +
    for (var i = 0; i < this.linkWrappers.length; i++) {
 +
      var wrapper = this.linkWrappers[i];
 +
      if (i === section_idx) {
 +
        wrapper.removeClass('hiddenSublinks');
 +
        wrapper.addClass('shownSublinks');
 +
      } else {
 +
        wrapper.removeClass('shownSublinks');
 +
        wrapper.addClass('hiddenSublinks');
 +
      }
 +
    }
 +
  };
 +
  NavBar.prototype.render = function() {
 +
    //var container = $('<div class="navBar" />');
 +
    var page_links = $('<ul class="pageLinks" />');
 +
    for (var i = 0; i < this.links.length; i++) {
 +
      var link_wrapper = $('<li class="hiddenSublinks"/>');
 +
      var link_string = '<div class="link"><a href="{0}">- {1}</a></div>';
 +
      var link = $(link_string.format(this.links[i].link, this.links[i].text));
 +
      link_wrapper.append(link);
 +
 
 +
      var sublinks = this.sublinks[i];
 +
      for (var j = 0; j < sublinks.length; j++) {
 +
        var sublink_string = '<div class="sublink"><a href="{0}">- {1}</a></div>';
 +
        var sublink = $(sublink_string.format(sublinks[j].link, sublinks[j].text));
 +
        link_wrapper.append(sublink);
 +
 
 +
      }
 +
      link.click(this.showSectionOnly.bind(this, i));
 +
      this.linkWrappers.push(link_wrapper);
 +
      page_links.append(link_wrapper);
 +
    }
 +
    //container.append(page_links);
 +
    return page_links;
 +
  };
 +
 
 +
  function socialButtons(image_links) {
 +
    var container = $('<span class="socialButtons"/>');
 +
    for (var i = 0; i < image_links.length; i++) {
 +
      var l = image_links[i];
 +
      var s = '<a href="{0}"><img src="{1}" /></a>'.format(l.link, l.url);
 +
      container.append($(s));
 +
    }
 +
    return container;
 +
  }
 +
 
 +
  function createPhotoGrid(names_to_urls) {
 +
    var root = $('<div><div/>');
 +
    for (var name in names_to_urls) {
 +
      if (!names_to_urls.hasOwnProperty(name)) continue;
 +
      var url = names_to_urls[name];
 +
      root.append($('<div class="headshotWrapper"><img class="headshot" src="{1}" /><div>{0}</div></div>'.format(name, url)));
 +
    }
 +
    return root;
 +
  }
 +
 
 +
  function setupPhotos() {
 +
    var setupGroup = function(id, grid_data) {
 +
      $(id).append(createPhotoGrid(grid_data));
 +
    };
 +
    setupGroup('#administratorPhotos',
 +
      {
 +
      /* TODO
 +
        'Peter': '',
 +
        'Linda': ''
 +
      */
 +
      }
 +
    );
 +
    // TODO - use MUCH smaller photos so it doesn't lag.
 +
    setupGroup('#teamPhotos',
 +
      {
 +
        'Paul': 'https://static.igem.org/mediawiki/2013/b/bd/Waterloo_paul.JPG',
 +
        'Aaron': 'https://static.igem.org/mediawiki/2013/5/59/Waterloo_aaron.JPG',
 +
        'Hina': 'https://static.igem.org/mediawiki/2013/0/0b/Waterloo_hina.JPG',
 +
        'Emily': 'https://static.igem.org/mediawiki/2013/b/bd/Waterloo_emily.JPG',
 +
        'Rummy': 'https://static.igem.org/mediawiki/2013/0/07/Waterloo_rummy.JPG',
 +
        'Julia': 'https://static.igem.org/mediawiki/2013/a/ae/Waterloo_julia.JPG',
 +
        'Steven': 'https://static.igem.org/mediawiki/2013/4/4f/Waterloo_steven.JPG',
 +
        'Urooj': 'https://static.igem.org/mediawiki/2013/d/d2/Waterloo_urooj.jpg',
 +
        'Jama': 'https://static.igem.org/mediawiki/2013/a/a1/Waterloo_jama.jpg',
 +
        'Chris': 'https://static.igem.org/mediawiki/2013/6/65/Waterloo_chris.JPG',
 +
        'Peivand': 'https://static.igem.org/mediawiki/2013/4/41/Waterloo_peivand.jpg'
 +
      }
 +
    );
 +
    // TODO
 +
    setupGroup('#intentToInventPhotos', {});
 +
    setupGroup('#labPhotos', {});
 +
  }
 +
 
 +
 
 +
  $.easing.easeOutCubic = function(x, t, b, c, d) {
 +
    return c*((t=t/d-1)*t*t + 1) + b;
 +
  };
 +
  function trans(idx, complete) {
 +
    var new_left = - idx * PAGE_WIDTH;
 +
    for (var layer = 0; layer < NUM_LAYERS; layer++) {
 +
      var new_left_layer = new_left * layer_factors[layer] + LAYER_OFFSET;
 +
      $('#layer' + layer).animate({left: new_left_layer},
 +
        {
 +
          'duration': 1000,
 +
          'easing': 'easeOutCubic',
 +
          'queue': false,
 +
          'complete': complete
         }
         }
-
        $(window).bind('hashchange', function(e) {
+
      );
-
            checkHash();
+
    }
-
        });
+
    page_idx = idx;
-
        $(document).ready(function() {
+
  }
-
            // Setup reverse map
+
  function setHash(hash) {
-
            for (var i = 0; i < NUM_PAGES; i++) {
+
    window.location.hash = hash;
-
                page_idx_map[pages[i]] = i;
+
  }
-
            }
+
  function getHash() {
 +
    return window.location.hash;
 +
  }
 +
  function checkHash() {
 +
    var hash = getHash();
 +
    var hash_main = hash;
 +
    var hash_secondary = null
 +
    var hash_segments = hash.split('/');
 +
    if (hash_segments.length > 2) {
 +
      hash_main = hash_segments[0] + '/' + hash_segments[1];
 +
      hash_secondary = hash_segments.slice(2).join('/');
 +
    }
 +
    var idx = page_idx_map[hash_main];
 +
    if (idx == undefined) {
 +
      setHash(pages[ 0 ]); // Do not remove spaces - mediaWiki will choke on it
 +
      return;
 +
    }
 +
 
 +
    // Could do scroll here, but it seems to wait for too long - should do immediately if not transitioning between pages
 +
    var complete_f = function() {
 +
    };
 +
 
 +
    // Animate page movement
 +
    trans(idx, complete_f);
 +
    // Open correct Nav Bar section
 +
    if (navBar) navBar.showSectionOnly(idx - 1); // TODO fix hack
-
            checkHash();
+
    // Special logo swapping for homepage
 +
    var logo = $('#p-logo')
 +
    if (idx === 0) {
 +
      logo.addClass('hiddenElement');
 +
    } else {
 +
      logo.removeClass('hiddenElement');
 +
    }
-
            // Injecting new logo into header
+
    // Reset scrolling position
-
            $('#p-logo').empty();
+
    var page = $('#p' + idx);
-
            var img = $('<img src="https://static.igem.org/mediawiki/2013/0/08/Igem_logo.png"/>');
+
    if (page) {
-
            $(img).css('height', '150px');
+
      var page_stuff = page.find('.pageStuff');
-
            $('#p-logo').append(
+
      if (page_stuff.length == 1) {
-
                $('<a href="#/Home"/>').append(img)
+
        var scroll_complete = false;
 +
        if (hash_secondary) {
 +
          var scroll_to_id = '#s_' + hash_segments[1] + '_' + hash_secondary.replace('/', '_');
 +
          var scroll_to_element = $(scroll_to_id);
 +
          if (scroll_to_element.length == 1) {
 +
            var scroll_current = page_stuff.scrollTop();
 +
            var scroll_dest_minus_current = scroll_to_element.position().top;
 +
            var scroll_dest = scroll_dest_minus_current + scroll_current;
 +
 
 +
            //page_stuff.scrollTop(scroll_dest);
 +
            page_stuff.animate({scrollTop: scroll_dest},
 +
              {
 +
                'duration': 400,
 +
                'queue': false
 +
              }
             );
             );
-
         });
+
            scroll_complete = true;
-
         $(document).keydown(function(e) {
+
          }
-
            switch (e.which) {
+
         }
-
                case 37: // Left
+
        if (!scroll_complete) page_stuff.scrollTop(0);
-
                    if (page_idx == 0) {
+
      }
-
                        setHash(pages[NUM_PAGES - 1]);
+
    }
-
                    } else {
+
  }
-
                        setHash(pages[page_idx - 1]);
+
  $(window).bind('hashchange', function(e) {
-
                    }
+
    checkHash();
-
                    break;
+
  });
-
                case 39: // Right
+
  $(document).ready(function() {
-
                    if (page_idx == NUM_PAGES - 1) {
+
    // Setup reverse map
-
                        setHash(pages[ 0 ]); // Do not remove spaces - mediaWiki will choke on it
+
    for (var i = 0; i < NUM_PAGES; i++) {
-
                    } else {
+
      page_idx_map[pages[i]] = i;
-
                        setHash(pages[page_idx + 1]);
+
    }
-
                    }
+
 
-
                    break;
+
    // Injecting new logo into header
-
            }
+
    var logo = $('#p-logo')
-
        });
+
    if (logo) {
 +
    var new_logo_img = $('<img src="{0}"/>'.format(logo_url));
 +
      new_logo_img.css('height', '150px');
 +
      var new_logo = $('<a href="#/Home">');
 +
      new_logo.append(new_logo_img);
 +
      logo.empty();
 +
      logo.append(new_logo);
 +
    }
 +
 
 +
    // Create NavBar
 +
    navBar = new NavBar();
 +
    //navBar.addLink(new Link('#/Home', 'Home'));
 +
    navBar.addLink(
 +
      new Link('#/Project', 'Project'),
 +
      [
 +
         new Link('#/Project/Abstract', 'Abstract'),
 +
        new Link('#/Project/Video', 'Video'),
 +
        new Link('#/Project/Results', 'Results'),
 +
        new Link('#/Project/Future', 'Future Aspirations'),
 +
        new Link('#/Project/Biobricks', 'Biobricks')
 +
      ]
 +
    );
 +
    navBar.addLink(
 +
      new Link('#/Team', 'Team'),
 +
      [
 +
        new Link('#/Team/Administrators', 'Administrators'),
 +
        new Link('#/Team/LabDesign', 'Lab & Design')
 +
      ]
 +
    );
 +
    navBar.addLink(
 +
      new Link('#/MathModelling', 'Math & Modelling'),
 +
      [
 +
        new Link('#/MathModelling/Switch', 'Switch Modelling'),
 +
        new Link('#/MathModelling/PopulationInfection', 'Population and Infection Modelling'),
 +
        new Link('#/MathModelling/PhageParticle', 'Phage Particle Production Modelling')
 +
      ]
 +
    );
 +
    navBar.addLink(
 +
      new Link('#/Outreach', 'Outreach'),
 +
      [
 +
        new Link('#/Outreach/IntentToInvent', 'Intent to Invent'),
 +
        new Link('#/Outreach/Vlogs', 'Vlogs')
 +
      ]
 +
    );
 +
    navBar.addLink(
 +
      new Link('#/Gallery', 'Gallery'),
 +
      [
 +
        new Link('#/Gallery/IntentToInvent', 'Intent to Invent'),
 +
        new Link('#/Gallery/Laboratory', 'Laboratory')
 +
      ]
 +
    );
 +
    navBar.addLink(
 +
      new Link('#/Notebook', 'Notebook'),
 +
      [
 +
        // TODO - Months
 +
      ]
 +
    );
 +
    navBar.addLink(
 +
      new Link('#/Safety', 'Safety')
 +
    );
 +
    navBar.addLink(
 +
      new Link('#/Sponsors', 'Sponsors'),
 +
      [
 +
        new Link('#/Sponsors/Advisors', 'Advisors'),
 +
        new Link('#/Sponsors/Sponsors', 'Sponsors')
 +
      ]
 +
    );
 +
    var nav_bar_element = $('.navBar');
 +
    nav_bar_element.append(navBar.render());
 +
    nav_bar_element.append(socialButtons(
 +
      [
 +
        new ImageLink('https://www.facebook.com/WaterlooiGEM', 'https://static.igem.org/mediawiki/2013/8/81/Waterloo_facebook_button_64.jpg'),
 +
        new ImageLink('http://www.youtube.com/user/WaterlooiGEM?feature=watch', 'https://static.igem.org/mediawiki/2013/8/8f/Waterloo_youtube_button_64.jpg'),
 +
        new ImageLink('https://twitter.com/Waterloo_iGEM', 'https://static.igem.org/mediawiki/2013/a/a9/Waterloo_twitter_button_64.jpg'),
 +
      ]
 +
    ));
 +
 
 +
    setupPhotos();
 +
    checkHash();
 +
  });
 +
  $(document).keydown(function(e) {
 +
    switch (e.which) {
 +
      case 37: // Left
 +
        if (page_idx == 0) {
 +
          setHash(pages[NUM_PAGES - 1]);
 +
        } else {
 +
          setHash(pages[page_idx - 1]);
 +
        }
 +
        break;
 +
      case 39: // Right
 +
        if (page_idx == NUM_PAGES - 1) {
 +
          setHash(pages[ 0 ]); // Do not remove spaces - mediaWiki will choke on it
 +
        } else {
 +
          setHash(pages[page_idx + 1]);
 +
        }
 +
        break;
 +
    }
 +
  });
 +
})();
     </script>
     </script>
Line 253: Line 558:
<body>
<body>
-
<div id="navBar">
+
  <div id="pageContainer">
-
     <table cellpadding="3" cellspacing="1" border="1" bordercolor="#fff" width="62%" align="center">
+
     <!--<div id="layer2" class="layer">-->
-
    <tbody>
+
     <div class="navBar"></div>
-
     <tr>
+
     <!--</div>-->
-
      <td align="center"><a href="#/Home">Home</a></td>
+
-
      <td align="center"><a href="#/Team">Team</a></td>
+
-
      <td align="center"><a href="https://igem.org/Team.cgi?year=2013&team_name=Waterloo">Waterloo Official Team Profile</a></td>
+
-
      <td align="center"><a href="#/Project">Project</a></td>
+
-
      <td align="center"><a href="#/Parts">Parts Submitted to the Registry</a></td>
+
-
      <td align="center"><a href="#/Modeling">Modeling</a></td>
+
-
      <td align="center"><a href="#/Notebook">Notebook</a></td>
+
-
      <td align="center"><a href="#/Safety">Safety</a></td>
+
-
      <td align="center"><a href="#/Attributions">Attributions</a></td>
+
-
     </tr>
+
-
    </tbody>
+
-
    </table>
+
-
</div>
+
-
<div id="pageContainer">
 
-
    <!-- Pages -->
 
-
    <div id="layer2" class="layer">
 
-
        <span id="p0" class="page">
 
-
            <div class="pageBar">
 
-
                <h1>Waterloo iGEM</h1>
 
-
                <p>
 
-
                    You can write a background of your team here.  Give us a background of your team, the members, etc.  Or tell us more about something of your choosing.
 
-
                </p>
 
-
                <img title="Team picture" src="http://placekitten.com/250/160" />
 
-
                <p>
 
-
                    Tell us more about your project.  Give us background.  Use this as the abstract of your project.  Be descriptive but concise (1-2 paragraphs)
 
-
                </p>
 
-
                <img title="Another picture" src="http://placekitten.com/100/100" />
 
-
                <div class="pageLinks">
 
-
                    <a href="#/Team">&gt; Team</a>
 
-
                    <a href="#/Project">&gt; Project</a>
 
-
                    <a href="#/Parts">&gt; Parts</a>
 
-
                    <a href="https://igem.org/Team.cgi?year=2013&team_name=Waterloo">&gt; Profile</a>
 
-
                </div>
 
-
            </div>
 
-
        </span>
 
-
        <span id="p1" class="page">
+
    <!--TODO need to incorporate this link somewhere <a href="https://igem.org/Team.cgi?year=2013&team_name=Waterloo">- Profile</a>-->
-
            <div class="pageBar">
+
-
                <h1>Team</h1>
+
-
                <p>
+
-
                    You can write a background of your team here. Give us a background of your team, the members, etc. Or tell us more about something of your choosing.
+
-
                </p>
+
-
                <div class="pageLinks">
+
-
                    <a href="#/Project">&gt; Project</a>
+
-
                    <a href="#/Parts">&gt; Parts</a>
+
-
                    <a href="#/Modeling">&gt; Modeling</a>
+
-
                    <a href="https://igem.org/Team.cgi?year=2013&team_name=Waterloo">&gt; Profile</a>
+
-
                    <a href="#/Attributions">&gt; Attributions</a>
+
-
                    <a href="#/Home">&lt; Home</a>
+
    <div id="layer1" class="layer">
-
                </div>
+
-
            </div>
+
-
        </span>
+
-
        <span id="p2" class="page">
+
      <!-- Home -->
-
            <div class="pageBar">
+
      <div id="p0" class="page">
-
                <h1>Project</h1>
+
        <div class="pageStuff">
-
                <p>
+
          <div>
-
                    This page is still in progress
+
            <img class="largeLogo" src="https://static.igem.org/mediawiki/2013/0/08/Igem_logo.png" />
-
                </p>
+
          </div>
-
                <div class="pageLinks">
+
        </div>
-
                    <a href="#/Parts">&gt; Parts</a>
+
      </div>
-
                    <a href="#/Modeling">&gt; Modeling</a>
+
-
                    <a href="#/Notebook">&gt; Notebook</a>
+
-
                    <a href="#/Team">&lt; Team</a>
+
      <!-- Project -->
-
                </div>
+
      <div id="p1" class="page">
-
             </div>
+
        <div class="pageStuff">
-
         </span>
+
          <h1 id="s_Project_Abstract">Abstract</h1>
 +
          <p>
 +
            <!-- TODO abstract -->
 +
            This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.  This is the abstract.
 +
          </p>
 +
          <h1 id="s_Project_Video">Video</h1>
 +
          <div>
 +
             <img src="https://static.igem.org/mediawiki/2013/e/e4/Wateroo_igem_project_video_1.gif" style="margin-left: 70px;" />
 +
          </div>
 +
          <h1 id="s_Project_Results">Results</h1>
 +
          <p>
 +
          Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results
 +
          Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results
 +
          Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results
 +
          Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results.
 +
          </p>
 +
          <h1 id="s_Project_Future">Future Aspirations</h1>
 +
          <h1 id="s_Project_Biobricks">Biobricks</h1>
 +
         </div>
 +
      </div>
-
        <span id="p3" class="page">
+
      <!--Team-->
-
            <div class="pageBar">
+
      <div id="p2" class="page">
-
                <h1>Parts</h1>
+
        <div class="pageStuff">
-
                <p>
+
          <h1 id="s_Team_Administrators">Administrators</h1>
-
                    An important aspect of the iGEM competition is the use and creation of standard  biological parts. Each team will make new parts during iGEM and will place them in the [http://partsregistry.org Registry of Standard Biological Parts]. The iGEM software provides an easy way to present the parts your team has created . The "groupparts" tag will generate a table with all of the parts that your team adds to your team sandbox.  Note that if you want to document a part you need to document it on the [http://partsregistry.org Registry], not on your team wiki.
+
          <div id="administratorPhotos" class="photoSection"></div>
 +
          <h1 id="s_Team_LabDesign">Lab &amp; Design</h1>
 +
          <div id="teamPhotos" class="photoSection"></div>
 +
        </div>
 +
      </div>
-
                    Remember that the goal of proper part documentation is to describe and define a part such that it can be used without a need to refer to the primary literature. The next iGEM team should be able to read your documentation and be able to use the part successfully. Also, you should provide proper references to acknowledge previous authors and to provide for  users who wish to know more.
 
-
                </p>
 
-
                <groupparts>iGEM013 Waterloo</groupparts>
 
-
                <div class="pageLinks">
 
-
                    <a href="#/Modeling">&gt; Modeling</a>
 
-
                    <a href="#/Notebook">&gt; Notebook</a>
 
-
                    <a href="#/Project">&lt; Project</a>
+
      <!--Math & Modelling-->
-
                </div>
+
      <div id="p3" class="page">
-
             </div>
+
        <div class="pageStuff">
-
         </span>
+
          <h1 id="s_MathModelling_Switch">Switch Modelling</h1>
 +
          <p>
 +
            x y z
 +
          </p>
 +
          <h1 id="s_MathModelling_PopulationInfection">Population &amp; Infection Modelling</h1>
 +
          <p>
 +
            a b c
 +
          </p>
 +
          <h1 id="s_MathModelling_PhageParticle">Phage Particle Production Modeling</h1>
 +
          <p>
 +
             a b c
 +
          </p>
 +
         </div>
 +
      </div>
-
        <span id="p4" class="page">
+
      <!--Outreach-->
-
            <div class="pageBar">
+
      <div id="p4" class="page">
-
                <h1>Modeling</h1>
+
        <div class="pageStuff">
-
                <p>
+
          <h1 id="s_Outreach_IntentToInvent">Intent to Invent</h1>
-
                    If you choose to include a Modeling page, please write about your modeling adventures here. This is not necessary but it may be a nice list to include. Testing to see if works
+
          <p>
-
                </p>
+
            <!-- TODO video? -->
-
                <div class="pageLinks">
+
          </p>
-
                    <a href="#/Notebook">&gt; Notebook</a>
+
          <h1 id="s_Outreach_Vlogs">Vlogs</h1>
-
                    <a href="#/Safety">&gt; Safety</a>
+
        </div>
 +
      </div>
-
                    <a href="#/Parts">&lt; Parts</a>
+
      <!--Gallery-->
-
                </div>
+
      <div id="p5" class="page">
-
             </div>
+
        <div class="pageStuff">
-
         </span>
+
          <h1 id="s_Gallery_IntentToInvent">Intent to Invent</h1>
 +
          <p>
 +
            <div id="intentToInventPhotos" class="photoSection"></div>
 +
          </p>
 +
          <h1 id="s_Gallery_Laboratory">Laboratory</h1>
 +
          <p>
 +
             <div id="labPhotos" class="photoSection"></div>
 +
          </p>
 +
         </div>
 +
      </div>
-
        <span id="p5" class="page">
+
      <!--Notebook-->
-
            <div class="pageBar">
+
      <div id="p6" class="page">
-
                <h1>Notebook</h1>
+
        <div class="pageStuff">
-
                <div class="scrollingSection">
+
          <div id="notebook">
-
                <ul>
+
            <!-- TODO -->
-
                    <li>March 13th, 2013: Made stocks of 6 oligos which will be annealed to make the PhiC31 attP site.</li>
+
            <ul>
-
                    <li>March 18th, 2013: Inoculated strain #118 from frozen stock.</li>
+
              <li>March 13th, 2013: Made stocks of 6 oligos which will be annealed to make the PhiC31 attP site.</li>
-
                    <li>March 19th, 2013: The cultures from yesterday did not grow. Streak out strain #118 onto regular LB and Cm + LB to check for contamination of stock. </li>
+
              <li>March 18th, 2013: Inoculated strain #118 from frozen stock.</li>
-
                    <li>March 20th, 2013: There were multiple morphologies of colonies on the Cm + LB plate from yesterday therefore the frozen stock is likely contaminated.</li>
+
              <li>March 19th, 2013: The cultures from yesterday did not grow. Streak out strain #118 onto regular LB and Cm + LB to check for contamination of stock. </li>
-
                    <li>March 21st, 2013: Make new frozen stock of DH5-alpha carrying pSB1C3 + RFP stuffer fragment (strain #151).
+
              <li>March 20th, 2013: There were multiple morphologies of colonies on the Cm + LB plate from yesterday therefore the frozen stock is likely contaminated.</li>
-
                    </li>
+
              <li>March 21st, 2013: Make new frozen stock of DH5-alpha carrying pSB1C3 + RFP stuffer fragment (strain #151).
-
                    <li>March 22nd, 2013: Maxiprep pSB1C3 from strain #151. </li>
+
              </li>
-
                    <li>March 26th, 2013: Restriction digest of pSB1C3 with EcoRI and PstI showed a smear on the gel. </li>
+
              <li>March 22nd, 2013: Maxiprep pSB1C3 from strain #151. </li>
-
                    <li>March 27th, 2013: Restriction digest of pSB1C3 from maxi-prep showed genomic DNA contamination. We were able to gel extract pSB1C3 from the gel to separate it from genomic DNA contamination. Transform DH5-alpha with gel extracted pSB1C3. </li>
+
              <li>March 26th, 2013: Restriction digest of pSB1C3 with EcoRI and PstI showed a smear on the gel. </li>
-
                    <li>March 28th, 2013: Transform plate showed red colonies. Our competent cells work. </li>
+
              <li>March 27th, 2013: Restriction digest of pSB1C3 from maxi-prep showed genomic DNA contamination. We were able to gel extract pSB1C3 from the gel to separate it from genomic DNA contamination. Transform DH5-alpha with gel extracted pSB1C3. </li>
-
                    <li>April 1st, 2013: Inoculated strain #151. </li>
+
              <li>March 28th, 2013: Transform plate showed red colonies. Our competent cells work. </li>
-
                    <li>April 2nd, 2013: Hpdo is received as miniprep and agar stab. Streak out Hpdo on a LB + Km plate. Miniprep pSB1C3. Nanodrop received Hpdo but we got a bad concentration maybe because we do not know what buffer to blank with. The Hpdo streak plate grew. Store Hpdo streak plate in the fridge.</li>
+
              <li>April 1st, 2013: Inoculated strain #151. </li>
-
                    <li>April 3rd, 2013: Restriction digest of pSB1C3. Gel extract the linearized pSB1C3 cut with EcoRI and PstI. The gel extracted samples did not contain DNA so we discarded them. We are not sure what went wrong. Someone forgot to take a picture of the gel. Inoculate strain #151. </li>
+
              <li>April 2nd, 2013: Hpdo is received as miniprep and agar stab. Streak out Hpdo on a LB + Km plate. Miniprep pSB1C3. Nanodrop received Hpdo but we got a bad concentration maybe because we do not know what buffer to blank with. The Hpdo streak plate grew. Store Hpdo streak plate in the fridge.</li>
-
                    <li>April 4th, 2013: Miniprep pSB1C3. </li>
+
              <li>April 3rd, 2013: Restriction digest of pSB1C3. Gel extract the linearized pSB1C3 cut with EcoRI and PstI. The gel extracted samples did not contain DNA so we discarded them. We are not sure what went wrong. Someone forgot to take a picture of the gel. Inoculate strain #151. </li>
-
                    <li>April 5th, 2013: Maxiprep Hpdo. This later turned out to be contaminated with genomic DNA. </li>
+
              <li>April 4th, 2013: Miniprep pSB1C3. </li>
-
                    <li>April 6th, 2013: Restriction digest of pSB1C3 shows genomic DNA contamination. Inoculate strain #151. </li>
+
              <li>April 5th, 2013: Maxiprep Hpdo. This later turned out to be contaminated with genomic DNA. </li>
-
                    <li>April 7th, 2013: Miniprep pSB1C3 from strain #151.</li>
+
              <li>April 6th, 2013: Restriction digest of pSB1C3 shows genomic DNA contamination. Inoculate strain #151. </li>
-
                    <li>April 8th, 2013: Restriction digest of pSB1C3 with EcoRI and PstI. Gel extract linearized pSB1C3. </li>
+
              <li>April 7th, 2013: Miniprep pSB1C3 from strain #151.</li>
-
                    <li>April 10th, 2013: Ligation of 6 oligos to form the PhiC31 attP site into pSB1C3. </li>
+
              <li>April 8th, 2013: Restriction digest of pSB1C3 with EcoRI and PstI. Gel extract linearized pSB1C3. </li>
-
                    <li>April 11th, 2013: Diagnostic gel to check linearized pSB1C3 from April 10th, 2013. No gel red added no bands observed. </li>
+
              <li>April 10th, 2013: Ligation of 6 oligos to form the PhiC31 attP site into pSB1C3. </li>
-
                    <li>April 12th, 2013: Transformation of ligated product from April 10th, 2013. No colonies were seen. At this point we are not sure why. </li>
+
              <li>April 11th, 2013: Diagnostic gel to check linearized pSB1C3 from April 10th, 2013. No gel red added no bands observed. </li>
-
                    <li>April 16th, 2013: Restriction digest of pSB1C3 with EcoRI and PstI. Gel extract linearlized pSB1C3. </li>
+
              <li>April 12th, 2013: Transformation of ligated product from April 10th, 2013. No colonies were seen. At this point we are not sure why. </li>
-
                    <li>April 17th, 2013: Diagnostic gel confirms gel extracted product from yesterday is linear and of the expected size. </li>
+
              <li>April 16th, 2013: Restriction digest of pSB1C3 with EcoRI and PstI. Gel extract linearlized pSB1C3. </li>
-
                    <li>April 22nd, 2013: Ligation of 6 oligos to form the PhiC31 attP site into pSB1C3. </li>
+
              <li>April 17th, 2013: Diagnostic gel confirms gel extracted product from yesterday is linear and of the expected size. </li>
-
                    <li>April 23rd, 2013: Transformation of ligated product from April 22nd, 2013. No colonies were seen. At this point we are not sure why. </li>
+
              <li>April 22nd, 2013: Ligation of 6 oligos to form the PhiC31 attP site into pSB1C3. </li>
-
                    <li>April 24th, 2013: Transformation control using pSB1C3 confirms our competent DH5-alpha cells are still good. </li>
+
              <li>April 23rd, 2013: Transformation of ligated product from April 22nd, 2013. No colonies were seen. At this point we are not sure why. </li>
-
                    <li>April 30th, 2013: Ligation to check ligase activity.</li>
+
              <li>April 24th, 2013: Transformation control using pSB1C3 confirms our competent DH5-alpha cells are still good. </li>
-
                    <li>April 31st, 2013: Transformation to check ligase activity. Inoculate culture of strain #152 containing Hpdo.</li>
+
              <li>April 30th, 2013: Ligation to check ligase activity.</li>
-
                    <li>May 1st, 2013: Miniprep Hpdo. Diagnostic gel confirms ligase is working correctly.</li>
+
              <li>April 31st, 2013: Transformation to check ligase activity. Inoculate culture of strain #152 containing Hpdo.</li>
-
                    <li>May 6th, 2013: Making Amp + LB plates and streaking out E. coli carrying pSH62. pSH62 has the gene encoding PhiC31 integrase.  </li>
+
              <li>May 1st, 2013: Miniprep Hpdo. Diagnostic gel confirms ligase is working correctly.</li>
-
                    <li>May 7th, 2013: Streak plate from yesterday looks good, store in fridge. Inoculate cultures from that streak plate. Diagnostic gel from gel extracted samples done on April 17th, 2013 show linearized pSB1C3 even though nanodrop values are negitive. Inoculate cultures of strain #151 and streak out a fresh plate of strain #151. </li>
+
              <li>May 6th, 2013: Making Amp + LB plates and streaking out E. coli carrying pSH62. pSH62 has the gene encoding PhiC31 integrase.  </li>
-
                    <li>May 8th, 2013: Inoculation from streak plate of E. coli carrying pSH62 did not grow. Inoculate again from the streak plate with fresh Terrific broth. Miniprep strain #151. Inoculate strain #152.  </li>
+
              <li>May 7th, 2013: Streak plate from yesterday looks good, store in fridge. Inoculate cultures from that streak plate. Diagnostic gel from gel extracted samples done on April 17th, 2013 show linearized pSB1C3 even though nanodrop values are negitive. Inoculate cultures of strain #151 and streak out a fresh plate of strain #151. </li>
-
                    <li>May 9th, 2013: Make frozen stock of DH5-alpha carrying pSH62 --> strain #153 and store in iGEM strain box 3. Miniprep strains #152 and #153. Restriction digest of pSB1C3 with EcoRI and PstI. The pSB1C3 looks good on the gel. Gel extract the samples. The nanodrop values of the gel extracted samples were bad. </li>
+
              <li>May 8th, 2013: Inoculation from streak plate of E. coli carrying pSH62 did not grow. Inoculate again from the streak plate with fresh Terrific broth. Miniprep strain #151. Inoculate strain #152.  </li>
-
                    <li>May 10th, 2013: Run a diagnostic gel with our gel extracted samples from yesterday. Though the nanodrop values are bad the linearlized backbone is clearly visible at the expected size on a diagnostic gel. To find an estimate of the concentrations we ran the gel extracted samples from yesterday on an agarose gel next to 100ng of lambda / HindIII ladder. This indicated the gel extracted samples had a concentration of ~ 5ng/uL. </li>
+
              <li>May 9th, 2013: Make frozen stock of DH5-alpha carrying pSH62 --> strain #153 and store in iGEM strain box 3. Miniprep strains #152 and #153. Restriction digest of pSB1C3 with EcoRI and PstI. The pSB1C3 looks good on the gel. Gel extract the samples. The nanodrop values of the gel extracted samples were bad. </li>
-
                    <li>May 12th, 2013: Inoculate strains #154 and #155 containing pUC118 and pUC119. </li>
+
              <li>May 10th, 2013: Run a diagnostic gel with our gel extracted samples from yesterday. Though the nanodrop values are bad the linearlized backbone is clearly visible at the expected size on a diagnostic gel. To find an estimate of the concentrations we ran the gel extracted samples from yesterday on an agarose gel next to 100ng of lambda / HindIII ladder. This indicated the gel extracted samples had a concentration of ~ 5ng/uL. </li>
-
                    <li>May 13th, 2013: Make frozen stock of strains #154 and #155. Miniprep strains #154 and #155. Amplify Hpdo minus gene VIII with KOD from maxiprep, Standford gift sample, May 1st miniprep and May 9th miniprep. </li>
+
              <li>May 12th, 2013: Inoculate strains #154 and #155 containing pUC118 and pUC119. </li>
-
                    <li>May 14th, 2013: Gel extraction of Hpdo minus gene VIII. Run the gel extracted samples by a lambda / HindIII ladder to estimate the concentration.</li>
+
              <li>May 13th, 2013: Make frozen stock of strains #154 and #155. Miniprep strains #154 and #155. Amplify Hpdo minus gene VIII with KOD from maxiprep, Standford gift sample, May 1st miniprep and May 9th miniprep. </li>
-
                    <li>May 15th, 2013: Concentrate pSB1C3 cut with EcoRI and PstI with the speed vac. Self ligation of Hpdo minus gene VIII. Amplify PhiC31 integrase for pSH62. </li>
+
              <li>May 14th, 2013: Gel extraction of Hpdo minus gene VIII. Run the gel extracted samples by a lambda / HindIII ladder to estimate the concentration.</li>
-
                    <li>May 16th, 2013:      </li>
+
              <li>May 15th, 2013: Concentrate pSB1C3 cut with EcoRI and PstI with the speed vac. Self ligation of Hpdo minus gene VIII. Amplify PhiC31 integrase for pSH62. </li>
-
                </ul>
+
              <li>May 16th, 2013:      </li>
-
                </div>
+
            </ul>
-
                <div class="pageLinks">
+
          </div>
-
                    <a href="#/Safety">&gt; Safety</a>
+
        </div>
-
                    <a href="#/Attributions">&gt; Attributions</a>
+
      </div>
-
                    <a href="#/Modeling">&lt; Modeling</a>
+
      <!--Safety-->
-
                </div>
+
      <div id="p7" class="page">
-
             </div>
+
        <div class="pageStuff">
-
         </span>
+
          <h1>Safety</h1>
 +
          <p>
 +
             This page is still in progress
 +
          </p>
 +
         </div>
 +
      </div>
-
        <span id="p6" class="page">
+
      <!--Sponsors-->
-
            <div class="pageBar">
+
      <div id="p8" class="page">
-
                <h1>Safety</h1>
+
        <div class="pageStuff">
-
                <p>
+
          <h1 id="s_Sponsors_Advisors">Advisors</h1>
-
                    This page is still in progress
+
          <p>
-
                </p>
+
            <div id="advisorPhotos" class="photoSection"></div>
-
                <div class="pageLinks">
+
          </p>
-
                    <a href="#/Attributions">&gt; Attributions</a>
+
          <h1 id="s_Sponsors_Sponsors">Sponsors</h1>
 +
          <p>
 +
            <div id="sponsorPhotos" class="photoSection"></div>
 +
          </p>
 +
        </div>
 +
      </div>
-
                    <a href="#/Notebook">&lt; Notebook</a>
 
-
                </div>
 
-
            </div>
 
-
        </span>
 
-
 
-
        <span id="p7" class="page">
 
-
            <div class="pageBar">
 
-
                <h1>Attributions</h1>
 
-
                <p>
 
-
                    This page is still in progress
 
-
                </p>
 
-
                <div class="pageLinks">
 
-
                    <a href="#/Home">&gt; Home</a>
 
-
                    <a href="#/Safety">&lt; Safety</a>
 
-
                </div>
 
-
            </div>
 
-
        </span>
 
-
    </div>
 
-
 
-
    <div id="layer1" class="layer">
 
-
        <img src="http://placekitten.com/1000/800" style="left: 1000px;" />
 
-
        <img src="http://placekitten.com/600/800" style="left: 2500px;" />
 
-
        <img src="http://placekitten.com/600/800" style="left: 8000px;" />
 
     </div>
     </div>
Line 453: Line 734:
     </div>
     </div>
-
</div>
+
  </div>
-
<!-- Placeholder  -->
+
  <!-- Placeholder  -->
-
<div class="placeHolder">&nbsp;</div>
+
  <div class="placeHolder">&nbsp;</div>
</body>
</body>
</html>
</html>

Revision as of 09:04, 22 July 2013

Abstract

This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract. This is the abstract.

Video

Results

Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results Results.

Future Aspirations

Biobricks

Administrators

Lab & Design

Switch Modelling

x y z

Population & Infection Modelling

a b c

Phage Particle Production Modeling

a b c

Intent to Invent

Vlogs

Intent to Invent

Laboratory

  • March 13th, 2013: Made stocks of 6 oligos which will be annealed to make the PhiC31 attP site.
  • March 18th, 2013: Inoculated strain #118 from frozen stock.
  • March 19th, 2013: The cultures from yesterday did not grow. Streak out strain #118 onto regular LB and Cm + LB to check for contamination of stock.
  • March 20th, 2013: There were multiple morphologies of colonies on the Cm + LB plate from yesterday therefore the frozen stock is likely contaminated.
  • March 21st, 2013: Make new frozen stock of DH5-alpha carrying pSB1C3 + RFP stuffer fragment (strain #151).
  • March 22nd, 2013: Maxiprep pSB1C3 from strain #151.
  • March 26th, 2013: Restriction digest of pSB1C3 with EcoRI and PstI showed a smear on the gel.
  • March 27th, 2013: Restriction digest of pSB1C3 from maxi-prep showed genomic DNA contamination. We were able to gel extract pSB1C3 from the gel to separate it from genomic DNA contamination. Transform DH5-alpha with gel extracted pSB1C3.
  • March 28th, 2013: Transform plate showed red colonies. Our competent cells work.
  • April 1st, 2013: Inoculated strain #151.
  • April 2nd, 2013: Hpdo is received as miniprep and agar stab. Streak out Hpdo on a LB + Km plate. Miniprep pSB1C3. Nanodrop received Hpdo but we got a bad concentration maybe because we do not know what buffer to blank with. The Hpdo streak plate grew. Store Hpdo streak plate in the fridge.
  • April 3rd, 2013: Restriction digest of pSB1C3. Gel extract the linearized pSB1C3 cut with EcoRI and PstI. The gel extracted samples did not contain DNA so we discarded them. We are not sure what went wrong. Someone forgot to take a picture of the gel. Inoculate strain #151.
  • April 4th, 2013: Miniprep pSB1C3.
  • April 5th, 2013: Maxiprep Hpdo. This later turned out to be contaminated with genomic DNA.
  • April 6th, 2013: Restriction digest of pSB1C3 shows genomic DNA contamination. Inoculate strain #151.
  • April 7th, 2013: Miniprep pSB1C3 from strain #151.
  • April 8th, 2013: Restriction digest of pSB1C3 with EcoRI and PstI. Gel extract linearized pSB1C3.
  • April 10th, 2013: Ligation of 6 oligos to form the PhiC31 attP site into pSB1C3.
  • April 11th, 2013: Diagnostic gel to check linearized pSB1C3 from April 10th, 2013. No gel red added no bands observed.
  • April 12th, 2013: Transformation of ligated product from April 10th, 2013. No colonies were seen. At this point we are not sure why.
  • April 16th, 2013: Restriction digest of pSB1C3 with EcoRI and PstI. Gel extract linearlized pSB1C3.
  • April 17th, 2013: Diagnostic gel confirms gel extracted product from yesterday is linear and of the expected size.
  • April 22nd, 2013: Ligation of 6 oligos to form the PhiC31 attP site into pSB1C3.
  • April 23rd, 2013: Transformation of ligated product from April 22nd, 2013. No colonies were seen. At this point we are not sure why.
  • April 24th, 2013: Transformation control using pSB1C3 confirms our competent DH5-alpha cells are still good.
  • April 30th, 2013: Ligation to check ligase activity.
  • April 31st, 2013: Transformation to check ligase activity. Inoculate culture of strain #152 containing Hpdo.
  • May 1st, 2013: Miniprep Hpdo. Diagnostic gel confirms ligase is working correctly.
  • May 6th, 2013: Making Amp + LB plates and streaking out E. coli carrying pSH62. pSH62 has the gene encoding PhiC31 integrase.
  • May 7th, 2013: Streak plate from yesterday looks good, store in fridge. Inoculate cultures from that streak plate. Diagnostic gel from gel extracted samples done on April 17th, 2013 show linearized pSB1C3 even though nanodrop values are negitive. Inoculate cultures of strain #151 and streak out a fresh plate of strain #151.
  • May 8th, 2013: Inoculation from streak plate of E. coli carrying pSH62 did not grow. Inoculate again from the streak plate with fresh Terrific broth. Miniprep strain #151. Inoculate strain #152.
  • May 9th, 2013: Make frozen stock of DH5-alpha carrying pSH62 --> strain #153 and store in iGEM strain box 3. Miniprep strains #152 and #153. Restriction digest of pSB1C3 with EcoRI and PstI. The pSB1C3 looks good on the gel. Gel extract the samples. The nanodrop values of the gel extracted samples were bad.
  • May 10th, 2013: Run a diagnostic gel with our gel extracted samples from yesterday. Though the nanodrop values are bad the linearlized backbone is clearly visible at the expected size on a diagnostic gel. To find an estimate of the concentrations we ran the gel extracted samples from yesterday on an agarose gel next to 100ng of lambda / HindIII ladder. This indicated the gel extracted samples had a concentration of ~ 5ng/uL.
  • May 12th, 2013: Inoculate strains #154 and #155 containing pUC118 and pUC119.
  • May 13th, 2013: Make frozen stock of strains #154 and #155. Miniprep strains #154 and #155. Amplify Hpdo minus gene VIII with KOD from maxiprep, Standford gift sample, May 1st miniprep and May 9th miniprep.
  • May 14th, 2013: Gel extraction of Hpdo minus gene VIII. Run the gel extracted samples by a lambda / HindIII ladder to estimate the concentration.
  • May 15th, 2013: Concentrate pSB1C3 cut with EcoRI and PstI with the speed vac. Self ligation of Hpdo minus gene VIII. Amplify PhiC31 integrase for pSH62.
  • May 16th, 2013:

Safety

This page is still in progress

Advisors

Sponsors