Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
Line 92: | Line 92: | ||
away = false; | away = false; | ||
if ($(document).scrollTop() < 509){ | if ($(document).scrollTop() < 509){ | ||
- | $('#toc').stop().animate({'top': ' | + | $('#toc').stop().animate({'top': '-78px'}, 1500).css({ |
position: 'absolute' | position: 'absolute' | ||
});; | });; | ||
} | } | ||
else { | else { | ||
- | $('#toc').stop().animate({'top': ' | + | $('#toc').stop().animate({'top': '0px'}, 1500).css({ |
position: 'fixed' | position: 'fixed' | ||
});; | });; |
Revision as of 03:14, 16 September 2013