Team:Warsaw/JSTest

From 2008.igem.org

(Difference between revisions)
Line 46: Line 46:
var div=document.createElement("div");
var div=document.createElement("div");
var h=document.createElement("h3");
var h=document.createElement("h3");
-
h.innerHTML=days[i];
+
h.innerHTML='<a href="'+adresbase+days[i]+'">'+days[i]+"</a>";
div.setAttribute("id",days[i]);
div.setAttribute("id",days[i]);
document.getElementById("merg").appendChild(h);
document.getElementById("merg").appendChild(h);

Revision as of 22:03, 25 October 2008

Gallery Bricks Notebook Team Project Home