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 button = document.createElement("img");
                         var button = document.createElement("img");
-
                         button.setAttribute("src", "image");
+
                         button.setAttribute("src", image);
var linkText = document.createTextNode(text);
var linkText = document.createTextNode(text);
a.appendChild(linkText);
a.appendChild(linkText);

Revision as of 14:32, 19 July 2014