User:Pudding
From 2014.igem.org
(Difference between revisions)
Line 182: | Line 182: | ||
$(function() { | $(function() { | ||
var pudding = $('#pudding'); | var pudding = $('#pudding'); | ||
- | |||
$(window).scroll(function () { | $(window).scroll(function () { | ||
if ($(this).scrollTop() > 30) {pudding.animate({'left':'0px'},200,'swing');} | if ($(this).scrollTop() > 30) {pudding.animate({'left':'0px'},200,'swing');} | ||
Line 192: | Line 191: | ||
}); | }); | ||
}); | }); | ||
- | |||
</script> | </script> | ||
Revision as of 10:51, 13 September 2014
count down