/**
* vgem-2018-wiki - Contains all webcontent that will be found on https://2018.igem.org/Team:Virginia. * @version v0.3 * @link https://github.com/Mantissa-23/VGEM-2018#readme * @license ISC */
// Code courtesy of Jay Holtslander, https://codepen.io/j_holtslander/pen/doQggE
$(window).scroll(function() {
if ($(document).scrollTop() > 50) { $('nav').addClass('shrink'); } else { $('nav').removeClass('shrink'); }
});
//Code courtesy of https://codepen.io/kruxor/pen/CwpFq
$(window).scroll(function() {
if ($(this).scrollTop() > 50 ) { $('.scrolltop:hidden').stop(true, true).fadeIn(); } else { $('.scrolltop').stop(true, true).fadeOut(); }
}); $(function(){$(".scroll").click(function(){$("html,body").animate({scrollTop:$(".thetop").offset().top},"1000");return false})}) //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZvb3Rlci1oZWFkZXItdGVtcGxhdGUuanMiLCJuYXZiYXIuanMiLCJzbW9vdGhzY3JvbGxiYXIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUNBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQ1RBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwiZmlsZSI6Indpa2kuanMiLCJzb3VyY2VzQ29udGVudCI6WyIiLCIvLyBDb2RlIGNvdXJ0ZXN5IG9mIEpheSBIb2x0c2xhbmRlciwgaHR0cHM6Ly9jb2RlcGVuLmlvL2pfaG9sdHNsYW5kZXIvcGVuL2RvUWdnRVxyXG5cclxuJCh3aW5kb3cpLnNjcm9sbChmdW5jdGlvbigpIHtcclxuICBpZiAoJChkb2N1bWVudCkuc2Nyb2xsVG9wKCkgPiA1MCkge1xyXG4gICAgJCgnbmF2JykuYWRkQ2xhc3MoJ3NocmluaycpO1xyXG4gIH0gZWxzZSB7XHJcbiAgICAkKCduYXYnKS5yZW1vdm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