Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 19: Line 19:
else if (data.search("Adhesion") !== -1)
else if (data.search("Adhesion") !== -1)
{
{
 +
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)');
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Adhesion.png"> Adhesion';
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/8/8e/Uppsala2014_Adhesion.png"> Adhesion';
}     
}     
Line 29: Line 30:
else if (data.search("Killing")!== -1)
else if (data.search("Killing")!== -1)
{
{
 +
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)');
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/0/0e/Uppsala_igem2014_Killing.png"> Killing';  
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/0/0e/Uppsala_igem2014_Killing.png"> Killing';  
}
}
Line 39: Line 41:
else if (data.search("Sensing")!== -1)
else if (data.search("Sensing")!== -1)
{
{
 +
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)');
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/a/a2/Sensing.png"> Sensing';
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/a/a2/Sensing.png"> Sensing';
}
}
Line 54: Line 57:
else if (data.search("Targeting")!== -1)
else if (data.search("Targeting")!== -1)
{
{
 +
                        $('#header').css('background-image', 'url(https://static.igem.org/mediawiki/2014/7/76/Uppsala_iGEM2014_Team_headerPro_new.png)');
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/1/1c/Uppsala2014_Targeting.png"> Targeting';
document.getElementById("currentH").innerHTML = '<img style ="width:15%" src="https://static.igem.org/mediawiki/2014/1/1c/Uppsala2014_Targeting.png"> Targeting';
}
}

Revision as of 21:21, 16 October 2014