Template:UCSF/Header

From 2010.igem.org

(Difference between revisions)
Line 83: Line 83:
var tmp = document.createElement('a');
var tmp = document.createElement('a');
alert(toBeTOCced[i].lastChild.innerHTML);
alert(toBeTOCced[i].lastChild.innerHTML);
-
tmp.innerHTML = toBeTOCced[i].firstChild.innerHTML;//result[1];
+
tmp.innerHTML = toBeTOCced[i].lastChild.innerHTML;//result[1];
tmp.className = 'page';
tmp.className = 'page';
z.appendChild(tmp);
z.appendChild(tmp);

Revision as of 07:12, 10 October 2010