Team:Uppsala/Templates/TselectTier2

From 2014.igem.org

(Difference between revisions)
Line 77: Line 77:
var a = document.createElement('a');
var a = document.createElement('a');
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(linkImg);
a.appendChild(linkText);
a.appendChild(linkText);

Revision as of 12:18, 19 July 2014