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(500);
+
$('#back-top').fadeIn();
} else {
} else {
-
$('#back-top').fadeOut(500);
+
$('#back-top').fadeOut();
}
}
});
});

Revision as of 17:06, 24 October 2013