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); | ||
- | + | ||
$('.spiderline').animate({ height: '-=90%'}, 840, function(){$('.spiderline').animate({ height: '+=90%'}, 3000)}); | $('.spiderline').animate({ height: '-=90%'}, 840, function(){$('.spiderline').animate({ height: '+=90%'}, 3000)}); | ||
}); | }); |
Revision as of 00:28, 6 September 2014