Team:NYMU-Taipei/TopBar
From 2014.igem.org
(Difference between revisions)
m |
m |
||
Line 84: | Line 84: | ||
}, 300, 'easeOutSine'); | }, 300, 'easeOutSine'); | ||
}); | }); | ||
+ | $(window).scroll(function (){ | ||
+ | var y = $(this).scrollTop(); | ||
+ | $('.left-bar').css({ | ||
+ | top:250+y, | ||
+ | }); | ||
+ | }); | ||
}); | }); | ||
</script> | </script> |
Revision as of 11:47, 5 May 2014