Team:Uppsala/Templates/TselectTier2
From 2014.igem.org
(Difference between revisions)
Line 82: | Line 82: | ||
button.setAttribute("width", "80"); | button.setAttribute("width", "80"); | ||
var linkText = document.createTextNode(text); | var linkText = document.createTextNode(text); | ||
- | a.appendChild(linkText); | + | a.appendChild(button); |
+ | a.appendChild(linkText); | ||
a.href = link; | a.href = link; | ||
- | /*node.appendChild(button); */ | + | /*node.appendChild(button);*/ |
node.appendChild(a); | node.appendChild(a); | ||
document.getElementById("tabSection").appendChild(node); | document.getElementById("tabSection").appendChild(node); | ||
- | document.getElementById("tabSection").appendChild(button); | + | /*document.getElementById("tabSection").appendChild(button);*/ |
} | } | ||
Revision as of 08:41, 21 July 2014