Team:Uppsala/Templates/TselectTier2

From 2014.igem.org

(Difference between revisions)
Line 78: Line 78:
var linkText = document.createTextNode(text);
var linkText = document.createTextNode(text);
                         var linkImg = document.createElement(img);
                         var linkImg = document.createElement(img);
-
                        a.appendChild(linkImg);
 
a.appendChild(linkText);
a.appendChild(linkText);
a.href = link;
a.href = link;
 +
                        node.appendChild(linkImg);
node.appendChild(a);
node.appendChild(a);
document.getElementById("tabSection").appendChild(node);
document.getElementById("tabSection").appendChild(node);

Revision as of 12:20, 19 July 2014