Team:Uppsala/Templates/TselectTier3

From 2014.igem.org

(Difference between revisions)
Line 88: Line 88:
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/7/73/Uppsala2014_Method_black.png", "MethPic");
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/7/73/Uppsala2014_Method_black.png", "MethPic");
createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/3/37/Uppsala2014_Result_black.png", "ResPic");
createA("", "#", "tab3", "https://static.igem.org/mediawiki/2014/3/37/Uppsala2014_Result_black.png", "ResPic");
-
createA("", "#", "tab4", "https://static.igem.org/mediawiki/2014/7/7d/Uppsala2014_Discussion_black.png", "DissPic");
 
changeContent("tab1");
changeContent("tab1");
changeContent("tab2");
changeContent("tab2");
changeContent("tab3");
changeContent("tab3");
-
changeContent("tab4");
 
}
}
Line 139: Line 137:
document.getElementById("currentH").innerHTML = "Notebook";
document.getElementById("currentH").innerHTML = "Notebook";
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/5/58/Uppsala2014_Protocol_red.png", "ProtPic");
createA("", "#", "tab1", "https://static.igem.org/mediawiki/2014/5/58/Uppsala2014_Protocol_red.png", "ProtPic");
-
createA("", "#", "tab2", "https://static.igem.org/mediawiki/2014/f/fc/Uppsala2014_Experiments_black.png", "ExpPic");
 
                         createA("", "#", "tab4", "https://static.igem.org/mediawiki/2014/5/5b/Uppsala2014_Work_database_black.png", "WorkPic");
                         createA("", "#", "tab4", "https://static.igem.org/mediawiki/2014/5/5b/Uppsala2014_Work_database_black.png", "WorkPic");
changeContent("tab1");
changeContent("tab1");
-
changeContent("tab2");
 
changeContent("tab4");
changeContent("tab4");
}
}
Line 230: Line 226:
if (target.is('#ProtPic')){
if (target.is('#ProtPic')){
document.getElementById('ProtPic').src = "https://static.igem.org/mediawiki/2014/5/58/Uppsala2014_Protocol_red.png";
document.getElementById('ProtPic').src = "https://static.igem.org/mediawiki/2014/5/58/Uppsala2014_Protocol_red.png";
-
document.getElementById('ExpPic').src = "https://static.igem.org/mediawiki/2014/f/fc/Uppsala2014_Experiments_black.png";
 
-
document.getElementById('WorkPic').src = "https://static.igem.org/mediawiki/2014/5/5b/Uppsala2014_Work_database_black.png";
 
-
}
 
-
else if (target.is('#ExpPic')){
 
-
document.getElementById('ProtPic').src = "https://static.igem.org/mediawiki/2014/4/4f/Uppsala2014_Protocol_black.png";
 
-
document.getElementById('ExpPic').src = "https://static.igem.org/mediawiki/2014/4/48/Uppsala2014_Experiments_red.png";
 
document.getElementById('WorkPic').src = "https://static.igem.org/mediawiki/2014/5/5b/Uppsala2014_Work_database_black.png";
document.getElementById('WorkPic').src = "https://static.igem.org/mediawiki/2014/5/5b/Uppsala2014_Work_database_black.png";
}
}
else if (target.is('#WorkPic')){
else if (target.is('#WorkPic')){
document.getElementById('ProtPic').src = "https://static.igem.org/mediawiki/2014/4/4f/Uppsala2014_Protocol_black.png";
document.getElementById('ProtPic').src = "https://static.igem.org/mediawiki/2014/4/4f/Uppsala2014_Protocol_black.png";
-
document.getElementById('ExpPic').src = "https://static.igem.org/mediawiki/2014/f/fc/Uppsala2014_Experiments_black.png";
 
document.getElementById('WorkPic').src = "https://static.igem.org/mediawiki/2014/6/6f/Uppsala2014_Work_database_red.png";
document.getElementById('WorkPic').src = "https://static.igem.org/mediawiki/2014/6/6f/Uppsala2014_Work_database_red.png";
}
}

Revision as of 20:56, 16 October 2014