Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 19: Line 19:
{
{
document.getElementById("currentH").innerHTML = "Adhesion Group";
document.getElementById("currentH").innerHTML = "Adhesion Group";
-
                       
 
-
                        $("#tab_selector").remove();
 
}       
}       
Line 236: Line 234:
document.getElementById('DemoPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Demo_black.png";
document.getElementById('DemoPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Demo_black.png";
}
}
-
 
+
else if (target.is('#DemoPic')){
 +
document.getElementById('DescPic').src = "https://static.igem.org/mediawiki/2014/0/08/Uppsala2014_Description_black.png";
 +
document.getElementById('DemoPic').src = "https://static.igem.org/mediawiki/2014/7/79/Uppsala2014_Demo_red.png";
 +
}
 +
else if (target.is('#studyPic')){
 +
document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/2/23/Uppsala2014_Thestudy_red.png";
 +
document.getElementById('discPic2').src = "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png";
 +
document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/d/dd/Uppsala2014_RawdataForm_black.png";
 +
}
 +
else if (target.is('#discPic2')){
 +
document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/7/72/Uppsala2014_Thestudy_black.png";
 +
document.getElementById('discPic2').src = "https://static.igem.org/mediawiki/2014/9/94/Uppsala2014_Discussion_red.png";
 +
document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/d/dd/Uppsala2014_RawdataForm_black.png";
 +
}
 +
else if (target.is('#formPic')){
 +
document.getElementById('studyPic').src = "https://static.igem.org/mediawiki/2014/7/72/Uppsala2014_Thestudy_black.png";
 +
document.getElementById('discPic2').src = "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png";
 +
document.getElementById('formPic').src = "https://static.igem.org/mediawiki/2014/e/e7/Uppsala2014_RawdataForm_red.png";
 +
}
     });
     });
});
});

Revision as of 15:50, 12 October 2014