Template:UCSF/Header
From 2010.igem.org
(Difference between revisions)
Line 95: | Line 95: | ||
z.appendChild(tmp); | z.appendChild(tmp); | ||
z.appendChild(document.createElement('br')); | z.appendChild(document.createElement('br')); | ||
- | if (toBeTOCced[i].nodeName == ' | + | if (toBeTOCced[i].nodeName == 'H2'){ |
- | + | ||
tmp.style.color="black"; | tmp.style.color="black"; | ||
+ | } | ||
+ | if (toBeTOCced[i].nodeName == 'H3'){ | ||
+ | tmp.className += ' indent'; | ||
} | } | ||
if (toBeTOCced[i].nodeName == 'H4'){ | if (toBeTOCced[i].nodeName == 'H4'){ |
Revision as of 08:12, 10 October 2010