Team:Uppsala/Templates/TselectTier2

From 2014.igem.org

(Difference between revisions)
 
(5 intermediate revisions not shown)
Line 18: Line 18:
createA("https://2014.igem.org/Team:Uppsala/Project_Adhesion", "https://static.igem.org/mediawiki/2014/d/d4/Uppsala-igem2014Adhesion_labe.png");
createA("https://2014.igem.org/Team:Uppsala/Project_Adhesion", "https://static.igem.org/mediawiki/2014/d/d4/Uppsala-igem2014Adhesion_labe.png");
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/f/f5/Uppsala_iGEM2014_Team_Proj.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");
 +
                        while (myNode.firstChild) {
 +
                        myNode.removeChild(myNode.firstChild);
 +
                        }
}
}
else if (data.search("Modeling")!== -1)
else if (data.search("Modeling")!== -1)
Line 26: Line 30:
createA("https://2014.igem.org/Team:Uppsala/Modeling_PopulationLevel", "https://static.igem.org/mediawiki/2014/a/a2/Uppsala2014_Population_level.png");
createA("https://2014.igem.org/Team:Uppsala/Modeling_PopulationLevel", "https://static.igem.org/mediawiki/2014/a/a2/Uppsala2014_Population_level.png");
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/3/3e/Uppsala_iGEM2014_Team_Mod.png)');
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/3/3e/Uppsala_iGEM2014_Team_Mod.png)');
 +
var myNode = document.getElementById("imgwrapNH");
 +
while (myNode.firstChild) {
 +
    myNode.removeChild(myNode.firstChild);
 +
}
 +
}
}
Line 35: Line 44:
createA("https://2014.igem.org/Team:Uppsala/PolicyPractices_BusinessPlan", "https://static.igem.org/mediawiki/2014/a/a8/Uppsala2014_Buisness_plan.png");
createA("https://2014.igem.org/Team:Uppsala/PolicyPractices_BusinessPlan", "https://static.igem.org/mediawiki/2014/a/a8/Uppsala2014_Buisness_plan.png");
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/f/fd/Uppsala_iGEM2014_Team_HP.png)');
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/f/fd/Uppsala_iGEM2014_Team_HP.png)');
 +
 +
var myNode = document.getElementById("imgwrapNH");
 +
while (myNode.firstChild) {
 +
    myNode.removeChild(myNode.firstChild);
 +
}
}
}
Line 45: Line 59:
createA("https://2014.igem.org/Team:Uppsala/Team_AdhesionGroup", "https://static.igem.org/mediawiki/2014/d/d4/Uppsala-igem2014Adhesion_labe.png");
createA("https://2014.igem.org/Team:Uppsala/Team_AdhesionGroup", "https://static.igem.org/mediawiki/2014/d/d4/Uppsala-igem2014Adhesion_labe.png");
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");
 +
}
}
else
else
Line 64: 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