User:Pudding

From 2014.igem.org

(Difference between revisions)
Line 191: Line 191:
               pudding.hide();
               pudding.hide();
               $(window).scroll(function () {
               $(window).scroll(function () {
-
                 if ($(this).scrollTop() > 10) {pudding.animate({'left':'-70px'},200,'swing');}
+
                 if ($(this).scrollTop() > 10) {pudding.animate({'left':'0px'},200,'swing');}
               else {pudding.animate({'left':'-270px'},100,'linear');}
               else {pudding.animate({'left':'-270px'},100,'linear');}
        });
        });

Revision as of 10:42, 13 September 2014

count down

Pudding