Team:Newcastle/Outreach/Overview

From 2013.igem.org

(Difference between revisions)
Line 6: Line 6:
==345==
==345==
-
 
+
<!DOCTYPE html>
-
 
+
<html>
-
{| class=wikitable style="width:80%;" align=center
+
<head>
-
!Code entered!!Output produced
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js">
-
|-
+
</script>
-
|width=50%|&#32;
+
<script>
-
<nowiki>{| class="wikitable collapsible collapsed"
+
$(document).ready(function(){
-
! Simple collapsible table
+
  $("#hide").click(function(){
-
|-
+
    $("p").hide();
-
| Lorem ipsum dolor sit amet
+
  });
-
|}</nowiki>
+
  $("#show").click(function(){
-
|style="width:50%; text-align:center;"|
+
    $("p").show();
-
{| class="wikitable collapsible collapsed"
+
  });
-
! Simple collapsible table
+
});
-
|-
+
</script>
-
| Lorem ipsum dolor sit amet
+
</head>
-
|}
+
<body>
-
|-
+
<p>If you click on the "Hide" button, I will disappear.</p>
-
|style="width:50%; font-size:90%"|&#32;
+
<button id="hide">Hide</button>
-
<nowiki>{| class="wikitable collapsible collapsed"
+
<button id="show">Show</button>
-
|A normal cell in the header row
+
</body>
-
! colspan="2"| Header cell spans two cols
+
</html>
-
|-
+
-
| colspan="2" | Lorem ipsum dolor sit amet
+
-
| Separate body cell
+
-
|}</nowiki>
+
-
|style="width:50%; text-align:center;"|
+
-
{| class="wikitable collapsible collapsed"
+
-
|width=33%|A normal cell in the header row
+
-
! colspan="2"| Header cell spans two cols
+
-
|-
+
-
| colspan="2" | Lorem ipsum dolor sit amet
+
-
|width=33%| Separate body cell
+
-
|}
+
-
|}
+

Revision as of 14:43, 28 September 2013

 
X
 
IGEM Home Newcastle University

Outreach

123

345

<!DOCTYPE html>

If you click on the "Hide" button, I will disappear.