Team:NYU-AD/Human Practices

iGEM NYUAD Wiki $(document).ready(function(){ $(window).scroll(function() { if ($(document).scrollTop() > 50) { // alert('you'); $('nav').addClass('shrink'); $('#nyuad-logo').css("height","44px"); } else { $('nav').removeClass('shrink'); $('#nyuad-logo').css("height","66px"); } }); });

Overview