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