Team:UCLA/Aal/javascripttemplate

From 2014.igem.org

(Difference between revisions)
Line 3: Line 3:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
$(document).ready(function(){
$(document).ready(function(){
-
   $("image").click(function(){
+
   $(".image").click(function(){
-
     $("test").animate({left:'250px'},5000);
+
     $("#test2").animate({left:'250px'},5000);
   });
   });
});
});
</script>
</script>
</html>
</html>

Revision as of 23:10, 6 August 2014