Team:Hong Kong HKUST

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
 +
<!DOCTYPE html>
<html>
<html>
<head>
<head>
Line 9: Line 10:
     $("#box").animate({width:"150px"});
     $("#box").animate({width:"150px"});
   });
   });
-
   $("#box").mouseout(function(){
+
   $("#box1").mouseleave(function(){
     $("#box").animate({width:"300px"});
     $("#box").animate({width:"300px"});
   });
   });
Line 17: Line 18:
<body>
<body>
-
<div id="box" style="background:#98bf21;height:200px;width:300px;margin:6px;">
+
<div id="box" style="background:#4498e9;height:200px;width:300px;">
</div>
</div>
 +
<div id="box1" style="background:#9bc6ee;height:200px;width:300px;">
 +
</div></div>
 +
 +
</body>
</body>
</html>
</html>
 +
 +
<style>
 +
#box
 +
{
 +
position:absolute;
 +
left:7px;
 +
top:8px;
 +
}
 +
</style>

Revision as of 06:09, 21 June 2013

<!DOCTYPE html>

<style>

  1. box

{ position:absolute; left:7px; top:8px; } </style>