Team:Uppsala/Templates/TselectTier2
From 2014.igem.org
(Difference between revisions)
Line 76: | Line 76: | ||
var node = document.createElement("li"); | var node = document.createElement("li"); | ||
var a = document.createElement('a'); | var a = document.createElement('a'); | ||
- | var button = document.createElement( | + | var button = document.createElement("img"); |
- | + | button.setAttribute("src", "image"); | |
var linkText = document.createTextNode(text); | var linkText = document.createTextNode(text); | ||
a.appendChild(linkText); | a.appendChild(linkText); | ||
a.href = link; | a.href = link; | ||
- | |||
node.appendChild(button); | node.appendChild(button); | ||
node.appendChild(a); | node.appendChild(a); |
Revision as of 14:30, 19 July 2014