Team:UCLA/Aal/javascripttemplate
From 2014.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
$("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: '-=90%'}, 800, function(){$('.spiderbutton').animate({ top: '+=90%'}, 3000)}); | ||
- | $('.spiderline').animate({ top: '-=90%'}, | + | $('.spiderline').animate({ top: '-=90%'}, 800, function(){$('.spiderline').animate({ top: '+=90%'}, 3000)}); |
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 00:58, 6 September 2014