m |
|||
(11 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=' | + | 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 69: | Line 84: | ||
function goToOutreach(){ | function goToOutreach(){ | ||
− | window.location = 'https://2018.igem.org/Team:Warwick/ | + | window.location = 'https://2018.igem.org/Team:Warwick/Public_Engagement'; |
} | } | ||
Line 92: | Line 107: | ||
} | } | ||
− | function | + | function goToInterLab(){ |
window.location = 'https://2018.igem.org/Team:Warwick/InterLab'; | window.location = 'https://2018.igem.org/Team:Warwick/InterLab'; | ||
} | } | ||
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 149: | Line 168: | ||
function revealJack(){ | function revealJack(){ | ||
− | revealPerson("Jack Lawrence", "https://static.igem.org/mediawiki/2018/9/9e/T--Warwick--JackL.png", 20, "Biological - Legionella", "3rd Year Virology & Medical Microbiology", "Have you heard about riboswitches?"); | + | revealPerson("Jack Lawrence", "https://static.igem.org/mediawiki/2018/9/9e/T--Warwick--JackL.png", 20, "Biological - Legionella", "3rd Year Virology & Medical Microbiology", "Have you heard about riboswitches? No? Oof"); |
} | } | ||
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”"); |
} | } | ||
Line 232: | Line 251: | ||
<div id='TopNav'> | <div id='TopNav'> | ||
<ul><!-- | <ul><!-- | ||
+ | --><li><span class='topnavs' id='topnavHome' onclick="goHome()">Home</span></li><!-- | ||
--><li><span class='topnavs' id='topnav0' onmouseenter="changeNavBar(0)">Project</span></li><!-- | --><li><span class='topnavs' id='topnav0' onmouseenter="changeNavBar(0)">Project</span></li><!-- | ||
--><li><span class='topnavs' id='topnav1' onmouseenter="changeNavBar(1)">Lab Work</span></li><!-- | --><li><span class='topnavs' id='topnav1' onmouseenter="changeNavBar(1)">Lab Work</span></li><!-- | ||
Line 324: | Line 344: | ||
<img src="https://static.igem.org/mediawiki/2018/6/61/T--Warwick--YTRed.png" alt="YouTube"> | <img src="https://static.igem.org/mediawiki/2018/6/61/T--Warwick--YTRed.png" alt="YouTube"> | ||
</a> | </a> | ||
− | <a class='socialMedia' href="https://twitter.com/ | + | <a class='socialMedia' href="https://twitter.com/warwickigem"> |
<img src="https://static.igem.org/mediawiki/2018/f/f0/T--Warwick--Twitterlogo.png" alt="Twitter"> | <img src="https://static.igem.org/mediawiki/2018/f/f0/T--Warwick--Twitterlogo.png" alt="Twitter"> | ||
</a> | </a> |
Latest revision as of 12:27, 17 October 2018
igem@warwick.ac.uk