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