User:Pudding

From 2014.igem.org

(Difference between revisions)
Line 193: Line 193:
               var pudding = $('#pudding');   
               var pudding = $('#pudding');   
               $(window).scroll(function () {
               $(window).scroll(function () {
-
                 if ($(this).scrollTop() > 30) {pudding.animate({'left':'-100px'},500,'swing');}
+
                 if ($(this).scrollTop() > 50) {pudding.animate({'left':'-100px'},500,'swing');}
               else {pudding.animate({'left':'-270px'},100,'linear');}
               else {pudding.animate({'left':'-270px'},100,'linear');}
        });
        });
                $('#pudding a').click(function () {
                $('#pudding a').click(function () {
                       $('#pudding').animate({'left':'0px'},100,'swing');
                       $('#pudding').animate({'left':'0px'},100,'swing');
-
        });
 
-
                      $('#pudding a').click(function () {
 
                  $('#pudding_on').css('display','inline');
                  $('#pudding_on').css('display','inline');
        });
        });

Revision as of 11:17, 13 September 2014

count down

Pudding

???「邪魔だし消えて

ぷりん「ひどい・゚・(つД`)・゚・ ウェ―ン」