Team:Uppsala/Templates/TselectTier2
From 2014.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
createA("https://2014.igem.org/Team:Uppsala/Project_Notebook", "https://static.igem.org/mediawiki/2014/8/82/Uppsala-igem2014Notebook.png"); | createA("https://2014.igem.org/Team:Uppsala/Project_Notebook", "https://static.igem.org/mediawiki/2014/8/82/Uppsala-igem2014Notebook.png"); | ||
$('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)'); | $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)'); | ||
- | var myNode = document.getElementById("imgwrapNH"); | + | var myNode = document.getElementById("imgwrapNH"); |
- | while (myNode.firstChild) { | + | while (myNode.firstChild) { |
- | + | myNode.removeChild(myNode.firstChild); | |
- | } | + | } |
} | } | ||
else if (data.search("Modeling")!== -1) | else if (data.search("Modeling")!== -1) | ||
Line 79: | Line 79: | ||
a.href = link; | a.href = link; | ||
node.appendChild(a); | node.appendChild(a); | ||
- | document.getElementById("tabSection").appendChild(node); | + | document.getElementById("tabSection").appendChild(node); |
- | + | ||
} | } | ||
- | |||
</script> | </script> | ||
</html> | </html> |
Latest revision as of 21:23, 16 October 2014