Team:UCL/Memories

From 2013.igem.org

(Difference between revisions)
Line 15: Line 15:
$(document).ready(function(){
$(document).ready(function(){
   $("button").click(function(){
   $("button").click(function(){
-
     $("#box1").fadeIn();
+
     $("#div1").fadeIn();
 +
    $("#div2").fadeIn("slow");
 +
    $("#div3").fadeIn(3000);
   });
   });
});
});
Line 52: Line 54:
<div id="intro">
<div id="intro">
-
<div id="box1">
+
<div id="div1" style="width:80px;height:80px;display:none;background-color:red;"></div><br>
-
</div>
+
<div id="div2" style="width:80px;height:80px;display:none;background-color:green;"></div><br>
-
 
+
<div id="div3" style="width:80px;height:80px;display:none;background-color:blue;"></div>
-
<div id="box2">
+
-
</div>
+
-
 
+
-
<div id="box3">
+
-
</div>
+

Revision as of 13:25, 30 August 2013