Team:NCTU Formosa/source/head
From 2014.igem.org
(Difference between revisions)
Line 80: | Line 80: | ||
$('#toc').stop().css({ | $('#toc').stop().css({ | ||
position: 'fixed', | position: 'fixed', | ||
+ | top: '0px', | ||
left: '-265px' | left: '-265px' | ||
}).animate({'top': '10px'}, 500); | }).animate({'top': '10px'}, 500); | ||
Line 95: | Line 96: | ||
$('#toc').stop().css({ | $('#toc').stop().css({ | ||
position: 'fixed', | position: 'fixed', | ||
+ | top: '0px', | ||
left: '-265px' | left: '-265px' | ||
}).animate({'top': -22-$('#toc').height()+wheight+'px'}, 500); | }).animate({'top': -22-$('#toc').height()+wheight+'px'}, 500); | ||
Line 103: | Line 105: | ||
$('#toc').stop().css({ | $('#toc').stop().css({ | ||
position: 'absolute', | position: 'absolute', | ||
+ | top: '10px', | ||
left: '-465px' | left: '-465px' | ||
}).animate({'top': '0px'}, 500); | }).animate({'top': '0px'}, 500); | ||
Line 109: | Line 112: | ||
$('#toc').stop().css({ | $('#toc').stop().css({ | ||
position: 'fixed', | position: 'fixed', | ||
+ | top: '0px', | ||
left: '-265px' | left: '-265px' | ||
}).animate({'top': '10px'}, 500); | }).animate({'top': '10px'}, 500); |
Revision as of 17:11, 15 September 2014