Template:Team:HKU-HKBU/script.js
From 2009.igem.org
(Difference between revisions)
YinanZhang (Talk | contribs) |
|||
Line 170: | Line 170: | ||
for (i in logos) | for (i in logos) | ||
logos[i].addToLogos(); | logos[i].addToLogos(); | ||
+ | } | ||
+ | |||
+ | function removeTitle(){ | ||
+ | var el = document.getElementByTagName("h1")[0]; | ||
+ | if (el != null) { | ||
+ | if (el.childNodes) { | ||
+ | for (var i = 0; i < el.childNodes.length; i++) { | ||
+ | var childNode = el.childNodes[i]; | ||
+ | el.removeChild(childNode); | ||
+ | } | ||
+ | } | ||
+ | } | ||
} | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 19:11, 16 October 2009