Team:Uppsala/Templates/TselectTier2

From 2014.igem.org

(Difference between revisions)
Line 14: Line 14:
document.getElementById("currentH").innerHTML = "Project";
document.getElementById("currentH").innerHTML = "Project";
                         createA("Adhesion", "https://2014.igem.org/Team:Uppsala/ProjectTest_AdhesionTest", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
                         createA("Adhesion", "https://2014.igem.org/Team:Uppsala/ProjectTest_AdhesionTest", "https://static.igem.org/mediawiki/2014/e/e1/Uppsala_igem2014_AdhesionV1.png");
 +
createA("Killling", "https://2014.igem.org/Team:Uppsala/ProjectTest_KillingTest");
createA("Killling", "https://2014.igem.org/Team:Uppsala/ProjectTest_KillingTest");
createA("Sensing", "https://2014.igem.org/Team:Uppsala/ProjectTest_SensingTest");
createA("Sensing", "https://2014.igem.org/Team:Uppsala/ProjectTest_SensingTest");
Line 78: Line 79:
                         var button = document.createElement("img");
                         var button = document.createElement("img");
                         button.setAttribute("src", image);
                         button.setAttribute("src", image);
 +
                        elem.setAttribute("height", "70");
 +
                        elem.setAttribute("width", "80");
var linkText = document.createTextNode(text);
var linkText = document.createTextNode(text);
a.appendChild(linkText);
a.appendChild(linkText);

Revision as of 14:35, 19 July 2014