Difference between revisions of "Team:ShanghaitechChina/Notebook"

Line 30: Line 30:
 
</head>
 
</head>
 
<body>
 
<body>
 +
<button>点击这里,使三个矩形淡出</button>
 
<div id="content1" class="content">
 
<div id="content1" class="content">
 
</div>
 
</div>
<script>
+
<script type="text/javascript">
$("#Researcher").click(function(){
+
$(document).ready(function(){
  $("#content1").fadeOut("slow");
+
  $("button").click(function(){
 +
    $("#content1").fadeOut();
 +
    $("#div2").fadeOut("slow");
 +
    $("#div3").fadeOut(3000);
 +
  });
 
});
 
});
 
</script>
 
</script>
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 11:48, 28 September 2016

igem2016:ShanghaiTech