m |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
<script> | <script> | ||
+ | |||
+ | function goToNotebook(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Notebook'; | ||
+ | } | ||
+ | |||
+ | function goToResults(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Results'; | ||
+ | } | ||
+ | |||
+ | function goToOverview(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Parts'; | ||
+ | } | ||
+ | |||
+ | |||
function changeNavBar(navbarSelection){ | function changeNavBar(navbarSelection){ | ||
Line 16: | Line 30: | ||
case 0: | case 0: | ||
− | bottnav.innerHTML = "<li onclick='goToDescription()'><span>Project Description</span></li><li onclick='goToDesign()'><span>Design</span></li><li onclick=' | + | bottnav.innerHTML = "<li onclick='goToDescription()'><span>Project Description</span></li><li onclick='goToDesign()'><span>Design</span></li><li onclick='goToModel()'><span>Modelling</span></li><li onclick='goToResults()'><span>Results</span></li><li onclick='goToMedals()'><span>Medals</span></li>"; |
bottnav.style.marginLeft = "25%" | bottnav.style.marginLeft = "25%" | ||
bottnav.style.background = 'linear-gradient(to right, white, #e6fefe)'; | bottnav.style.background = 'linear-gradient(to right, white, #e6fefe)'; | ||
break; | break; | ||
case 1: | case 1: | ||
− | bottnav.innerHTML = "<li onclick='goToOverview()'><span> | + | bottnav.innerHTML = "<li onclick='goToOverview()'><span>Parts</span></li><li onclick='goToExperiments()'><span>Experiments</span></li><li onclick='goToNotebook()'><span>Notebook</span></li><li onclick='goToInterLab()'><span>InterLab</span></li>"; |
bottnav.style.marginLeft = "40%" | bottnav.style.marginLeft = "40%" | ||
bottnav.style.background = 'linear-gradient(to right, #e6fefe, #d8fdfd)'; | bottnav.style.background = 'linear-gradient(to right, #e6fefe, #d8fdfd)'; | ||
break; | break; | ||
case 2: | case 2: | ||
− | bottnav.innerHTML = "<li onclick='goToHumanPractices()'><span>Integrated Human Practices</span></li><li onclick=' | + | bottnav.innerHTML = "<li onclick='goToHumanPractices()'><span>Integrated Human Practices</span></li><li onclick='goToOutreach()'><span>Public Engagement</span></li>"; |
bottnav.style.marginLeft = "55%" | bottnav.style.marginLeft = "55%" | ||
bottnav.style.background = 'linear-gradient(to right, #d8fdfd, #bbf0f3)'; | bottnav.style.background = 'linear-gradient(to right, #d8fdfd, #bbf0f3)'; | ||
Line 42: | Line 56: | ||
} | } | ||
} | } | ||
+ | |||
Line 102: | Line 117: | ||
function goHome(){ | function goHome(){ | ||
window.location = "https://2018.igem.org/Team:Warwick"; | window.location = "https://2018.igem.org/Team:Warwick"; | ||
+ | } | ||
+ | |||
+ | function goToMedals(){ | ||
+ | window.location = "https://2018.igem.org/Team:Warwick/Medals"; | ||
} | } | ||
Line 157: | Line 176: | ||
function revealOli(){ | function revealOli(){ | ||
− | revealPerson(" | + | revealPerson("Olivor Holman", "https://static.igem.org/mediawiki/2018/7/77/T--Warwick--Oli.jpg", 21, "Organic - Oestregen", "3rd Year Biological Sciences", "logy"); |
} | } | ||
Line 169: | Line 188: | ||
function revealJonny(){ | function revealJonny(){ | ||
− | revealPerson("Jonny Whiteside", "https://static.igem.org/mediawiki/2018/c/ce/T--Warwick--JonnyProfilePic.jpg", 20, " | + | revealPerson("Jonny Whiteside", "https://static.igem.org/mediawiki/2018/c/ce/T--Warwick--JonnyProfilePic.jpg", 20, "Biological - Legionella", "3rd Year Biochemistry", "“That's not northern”"); |
} | } | ||
Latest revision as of 12:27, 17 October 2018
igem@warwick.ac.uk