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: '-= | + | $('.spiderbutton').animate({ top: '-=90%'}, 800, function(){$('.spiderbutton').animate({ top: '+=90%'}, 3000)}); |
}); | }); | ||
}); | }); | ||
- | jQuery(document).ready(function($){ | + | /*jQuery(document).ready(function($){ |
$('.spiderbutton').mouseover(function(){ | $('.spiderbutton').mouseover(function(){ | ||
$('.spiderbutton').animate({ height: '+=10%', width: "+=10%"}, 80); | $('.spiderbutton').animate({ height: '+=10%', width: "+=10%"}, 80); | ||
Line 26: | Line 26: | ||
$('.spiderbutton').animate({ height: '-=10%', width: "-=10%"}, 80); | $('.spiderbutton').animate({ height: '-=10%', width: "-=10%"}, 80); | ||
}); | }); | ||
- | }); | + | });*/ |
</script> | </script> | ||
</html> | </html> |
Revision as of 00:01, 6 September 2014