Team:Hong Kong HKUST
From 2013.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
{ | { | ||
$("#box").mouseover(function(){ | $("#box").mouseover(function(){ | ||
- | $("#box").animate({width:" | + | $("#box").animate({width:"150px"}); |
}); | }); | ||
$("#box").mouseleave(function(){ | $("#box").mouseleave(function(){ | ||
Line 17: | Line 17: | ||
<body> | <body> | ||
- | <div id="box" style="background:#98bf21;height: | + | <div id="box" style="background:#98bf21;height:200px;width:300px;margin:6px;"> |
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 05:34, 21 June 2013