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); | ||
return false; | return false; | ||
+ | }); | ||
+ | }); | ||
+ | jQuery(document).ready(function($){ | ||
+ | $('.spiderbutton').click(function(){ | ||
+ | $('.spiderbutton').animate({ up: "+=50"}, 500) | ||
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 22:53, 5 September 2014