Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
Line 103: | Line 103: | ||
$(document).scroll(function() { | $(document).scroll(function() { | ||
- | if ($(document).scrollTop() > | + | if ($(document).scrollTop() > 1500) { |
if (!away) { | if (!away) { | ||
away = true; | away = true; | ||
- | |||
$('#toc').stop().animate({'top': '-222px'}, 1500); | $('#toc').stop().animate({'top': '-222px'}, 1500); | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
} else { | } else { |
Revision as of 19:37, 15 September 2013