Team:Johns Hopkins/Team/Members

From 2011.igem.org

(Difference between revisions)
Line 41: Line 41:
<br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/>
</div>
</div>
 +
<script>
 +
$(function () {
 +
 
 +
  var msie6 = $.browser == 'msie' && $.browser.version < 7;
 +
 
 +
  if (!msie6) {
 +
    var top = $('#boxcontent').offset().top - parseFloat($('#boxcontent').css('margin-top').replace(/auto/, 0));
 +
    $(window).scroll(function (event) {
 +
      // what the y position of the scroll is
 +
      var y = $(this).scrollTop();
 +
     
 +
      // whether that's below the form
 +
      if (y >= top) {
 +
        // if so, ad the fixed class
 +
        $('#boxcontent').addClass('fixed');
 +
      } else {
 +
        // otherwise remove it
 +
        $('#boxcontent').removeClass('fixed');
 +
      }
 +
    });
 +
  } 
 +
});
 +
</script>
</body></html>
</body></html>

Revision as of 05:05, 17 August 2011

VitaYeast - Johns Hopkins University, iGEM 2011


Click on a team member's name to get to know him or her better.