Team:UCLA/Aal/javascripttemplate

From 2014.igem.org

(Difference between revisions)
Line 16: Line 16:
       $('.spiderbutton').click(function(){
       $('.spiderbutton').click(function(){
         $("html, body").animate({ scrollTop: 0 }, 500);
         $("html, body").animate({ scrollTop: 0 }, 500);
-
$('.spiderbutton').animate({ top: '-=90%'}, 800, function(){$('.spiderbutton').animate({ top: '+=90%'}, 3000)});
+
$('.spiderbutton').animate({ top: '-=70%'}, 800, function(){$('.spiderbutton').animate({ top: '+=70%'}, 3000)});
       });
       });
});
});

Revision as of 23:31, 5 September 2014