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