Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
Line 149: | Line 149: | ||
$(window).scroll(function () { | $(window).scroll(function () { | ||
if ($(this).scrollTop() > 100) { | if ($(this).scrollTop() > 100) { | ||
- | $('#back-top').fadeIn( | + | $('#back-top').fadeIn(); |
} else { | } else { | ||
- | $('#back-top').fadeOut( | + | $('#back-top').fadeOut(); |
} | } | ||
}); | }); |
Revision as of 17:06, 24 October 2013