Team:UCLA/Aal/javascripttemplate
From 2014.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $("test2").animate({ | + | $(".image").click(function(){ |
+ | $("#test2").animate({ | ||
left:'250px', | left:'250px', | ||
opacity:'0.5', | opacity:'0.5', | ||
Line 10: | Line 11: | ||
}); | }); | ||
}); | }); | ||
+ | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 23:26, 6 August 2014