Team:NCTU Formosa/source/head
From 2013.igem.org
(Difference between revisions)
Line 87: | Line 87: | ||
$('#toc').stop().css({ | $('#toc').stop().css({ | ||
position: 'fixed', | position: 'fixed', | ||
- | left: ' | + | left: '15px' |
}).animate({'top': -22-$('#toc').height()+wheight+'px'}, 500); | }).animate({'top': -22-$('#toc').height()+wheight+'px'}, 500); | ||
}} | }} | ||
} else { | } else { | ||
away = false; | away = false; | ||
+ | } | ||
if ($(document).scrollTop() < 409){ | if ($(document).scrollTop() < 409){ | ||
$('#toc').stop().css({ | $('#toc').stop().css({ | ||
Line 104: | Line 105: | ||
}).animate({'top': '78px'}, 500); | }).animate({'top': '78px'}, 500); | ||
} | } | ||
- | |||
}); | }); | ||
$(window).resize(function() { | $(window).resize(function() { |
Revision as of 18:41, 27 September 2013