Team:Uppsala/Templates/TselectTier2

From 2014.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
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);
+
                        myNode.removeChild(myNode.firstChild);
-
}
+
                        }
}
}
else if (data.search("Modeling")!== -1)
else if (data.search("Modeling")!== -1)
Line 60: Line 60:
createA("https://2014.igem.org/Team:Uppsala/Team_ModelingGroup", "https://static.igem.org/mediawiki/2014/5/51/Uppsala-igem2014Modelinglabe.png");
createA("https://2014.igem.org/Team:Uppsala/Team_ModelingGroup", "https://static.igem.org/mediawiki/2014/5/51/Uppsala-igem2014Modelinglabe.png");
-
var myNode = document.getElementById("imgwrapNH");
 
-
while (myNode.firstChild) {
 
-
    myNode.removeChild(myNode.firstChild);
 
-
}
 
}
}
else
else
Line 83: 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