Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
Line 105: | Line 105: | ||
$(document).scroll(function() { | $(document).scroll(function() { | ||
- | if ($(document).scrollTop() > 800 | + | if ($tocf>0) |
+ | if ($(document).scrollTop() > 800) { | ||
if (!away) { | if (!away) { | ||
away = true; | away = true; |
Revision as of 19:27, 15 September 2013