Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
Line 110: | Line 110: | ||
} else { | } else { | ||
away = false; | away = false; | ||
+ | if ($(document).scrollTop() < 431){ | ||
+ | $('#toc').stop().animate({'top': '0px'}, 1500); | ||
+ | } | ||
+ | else { | ||
$('#toc').stop().animate({'top': '78px'}, 1500); | $('#toc').stop().animate({'top': '78px'}, 1500); | ||
+ | } | ||
} | } | ||
}); | }); | ||
}); | }); | ||
</script> | </script> |
Revision as of 19:32, 15 September 2013