Team:UCLA/Aal/javascripttemplate

From 2014.igem.org

(Difference between revisions)
Line 20: Line 20:
jQuery(document).ready(function($){
jQuery(document).ready(function($){
       $('.spiderbutton').click(function(){
       $('.spiderbutton').click(function(){
-
         $('#test2').animate({ up: '+50px'}, 500)
+
         $('.spiderbutton').animate({ up: '+50px'}, 500);
     });
     });
});
});
</script>
</script>
</html>
</html>

Revision as of 23:01, 5 September 2014