Team:Uppsala/Templates/TselectTier2
From 2014.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
{ | { | ||
document.getElementById("currentH").innerHTML = "Project"; | document.getElementById("currentH").innerHTML = "Project"; | ||
- | + | ||
+ | <li><img src="https://static.igem.org/mediawiki/2014/9/95/Uppsala_igem2014_Arrow.png"/><a>"Adhesion"</a></li> | ||
+ | /* createA("Adhesion", "https://2014.igem.org/Team:Uppsala/ProjectTest_AdhesionTest"); */ | ||
createA("Killling", "https://2014.igem.org/Team:Uppsala/ProjectTest_KillingTest"); | createA("Killling", "https://2014.igem.org/Team:Uppsala/ProjectTest_KillingTest"); | ||
createA("Sensing", "https://2014.igem.org/Team:Uppsala/ProjectTest_SensingTest"); | createA("Sensing", "https://2014.igem.org/Team:Uppsala/ProjectTest_SensingTest"); | ||
Line 73: | Line 75: | ||
- | function createA(text, link | + | function createA(text, link) { |
var node = document.createElement("li"); | var node = document.createElement("li"); | ||
var a = document.createElement('a'); | var a = document.createElement('a'); | ||
var linkText = document.createTextNode(text); | var linkText = document.createTextNode(text); | ||
- | |||
a.appendChild(linkText); | a.appendChild(linkText); | ||
a.href = link; | a.href = link; | ||
- | |||
node.appendChild(a); | node.appendChild(a); | ||
document.getElementById("tabSection").appendChild(node); | document.getElementById("tabSection").appendChild(node); |
Revision as of 13:34, 19 July 2014