Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 101: Line 101:
else if (data.search("Parts")!== -1)
else if (data.search("Parts")!== -1)
{
{
-
var myNode = document.getElementById("imgwrapNH");
+
                        var myNode = document.getElementById("imgwrapNH");
-
while (myNode.firstChild) {
+
                        while (myNode.firstChild) {
-
    myNode.removeChild(myNode.firstChild);
+
                        myNode.removeChild(myNode.firstChild);
-
}
+
                        }
-
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/d/da/Uppsala_iGEM2014_Team_headerParts2.png)');
+
                         $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/9/9f/Uppsala_iGEM2014_Team_headerParts.png)');
document.getElementById("currentH").innerHTML = "Parts";
document.getElementById("currentH").innerHTML = "Parts";

Revision as of 22:43, 16 October 2014