Team:UCLA/Aal/javascripttemplate
From 2014.igem.org
(Difference between revisions)
Line 5: | Line 5: | ||
$("#test2").mouseenter(function(){ | $("#test2").mouseenter(function(){ | ||
$("#test2").animate({ | $("#test2").animate({ | ||
- | + | left:'2px', | |
}); | }); | ||
}).mouseleave(function(){ | }).mouseleave(function(){ | ||
$("#test2").animate({ | $("#test2").animate({ | ||
- | + | left:'-80px', | |
}); | }); | ||
}); | }); |
Revision as of 00:11, 7 August 2014