Line 1: | Line 1: | ||
/** | /** | ||
* vgem-2018-wiki - Contains all webcontent that will be found on https://2018.igem.org/Team:Virginia. | * vgem-2018-wiki - Contains all webcontent that will be found on https://2018.igem.org/Team:Virginia. | ||
− | * @version v0.3 | + | * @version v0.0.3 |
* @link https://github.com/Mantissa-23/VGEM-2018#readme | * @link https://github.com/Mantissa-23/VGEM-2018#readme | ||
* @license ISC | * @license ISC | ||
Line 26: | Line 26: | ||
}); | }); | ||
$(function(){$(".scroll").click(function(){$("html,body").animate({scrollTop:$(".thetop").offset().top},"1000");return false})}) | $(function(){$(".scroll").click(function(){$("html,body").animate({scrollTop:$(".thetop").offset().top},"1000");return false})}) | ||
− | //# sourceMappingURL=data:application/json;charset=utf8;base64, | + | //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZvb3Rlci1oZWFkZXItdGVtcGxhdGUuanMiLCJuYXZiYXIuanMiLCJzbW9vdGhzY3JvbGxiYXIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUNBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQ1RBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwiZmlsZSI6Indpa2kuanMiLCJzb3VyY2VzQ29udGVudCI6WyIiLCIvLyBDb2RlIGNvdXJ0ZXN5IG9mIEpheSBIb2x0c2xhbmRlciwgaHR0cHM6Ly9jb2RlcGVuLmlvL2pfaG9sdHNsYW5kZXIvcGVuL2RvUWdnRVxyXG5cclxuJCh3aW5kb3cpLnNjcm9sbChmdW5jdGlvbigpIHtcclxuICBpZiAoJChkb2N1bWVudCkuc2Nyb2xsVG9wKCkgPiA1MCkge1xyXG4gICAgJCgnbmF2JykuYWRkQ2xhc3MoJ3NocmluaycpO1xyXG4gIH0gZWxzZSB7XHJcbiAgICAkKCduYXYnKS5yZW1vdmVDbGFzcygnc2hyaW5rJyk7XHJcbiAgfVxyXG59KTtcclxuIiwiLy9Db2RlIGNvdXJ0ZXN5IG9mIGh0dHBzOi8vY29kZXBlbi5pby9rcnV4b3IvcGVuL0N3cEZxXHJcblxyXG4kKHdpbmRvdykuc2Nyb2xsKGZ1bmN0aW9uKCkge1xyXG4gICAgaWYgKCQodGhpcykuc2Nyb2xsVG9wKCkgPiA1MCApIHtcclxuICAgICAgICAkKCcuc2Nyb2xsdG9wOmhpZGRlbicpLnN0b3AodHJ1ZSwgdHJ1ZSkuZmFkZUluKCk7XHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICAgICQoJy5zY3JvbGx0b3AnKS5zdG9wKHRydWUsIHRydWUpLmZhZGVPdXQoKTtcclxuICAgIH1cclxufSk7XHJcbiQoZnVuY3Rpb24oKXskKFwiLnNjcm9sbFwiKS5jbGljayhmdW5jdGlvbigpeyQoXCJodG1sLGJvZHlcIikuYW5pbWF0ZSh7c2Nyb2xsVG9wOiQoXCIudGhldG9wXCIpLm9mZnNldCgpLnRvcH0sXCIxMDAwXCIpO3JldHVybiBmYWxzZX0pfSkiXX0= |
Revision as of 15:46, 29 June 2018
/**
* vgem-2018-wiki - Contains all webcontent that will be found on https://2018.igem.org/Team:Virginia. * @version v0.0.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,eyJ2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