m |
|||
(17 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=' | + | 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=' | + | 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)'; | ||
break; | break; | ||
case 3: | case 3: | ||
− | bottnav.innerHTML = "<li onclick='MeetTheTeam()'><span>Meet the Team</span></li><li onclick=' | + | bottnav.innerHTML = "<li onclick='MeetTheTeam()'><span>Meet the Team</span></li><li onclick='goToAttributions()'><span>Attributions</span></li><li onclick='goToCollaborations()'><span>Collaborations</span></li>"; |
bottnav.style.marginLeft = "70%" | bottnav.style.marginLeft = "70%" | ||
bottnav.style.background = 'linear-gradient(to right, #bbf0f3, #85e4e9)'; | bottnav.style.background = 'linear-gradient(to right, #bbf0f3, #85e4e9)'; | ||
Line 42: | Line 56: | ||
} | } | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | function reset(){ | ||
+ | $("#BottNav").hide(); | ||
+ | } | ||
+ | </script> | ||
+ | |||
+ | <script> | ||
+ | |||
+ | function goHome(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick'; | ||
+ | } | ||
+ | |||
+ | |||
+ | function scrollToFooter(){ | ||
+ | $('html, body').animate({scrollTop: '10000px'}, 5000); | ||
+ | } | ||
+ | |||
+ | function MeetTheTeam(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/theTeam.html'; | ||
+ | } | ||
+ | |||
+ | function goToAttributions(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Attributions'; | ||
+ | } | ||
+ | |||
+ | function goToOutreach(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Public_Engagement'; | ||
+ | } | ||
+ | |||
+ | function goToHumanPractices(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Human_Practices'; | ||
+ | } | ||
+ | |||
+ | function goToCollaborations(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Collaborations'; | ||
+ | } | ||
+ | |||
+ | function goToDescription(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Description'; | ||
+ | } | ||
+ | |||
+ | function goToDesign(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Design'; | ||
+ | } | ||
+ | |||
+ | function goToExperiments(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Experiments'; | ||
+ | } | ||
+ | |||
+ | function goToInterLab(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/InterLab'; | ||
+ | } | ||
+ | |||
+ | function goToModel(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick/Model'; | ||
+ | } | ||
+ | |||
+ | function goHome(){ | ||
+ | window.location = "https://2018.igem.org/Team:Warwick"; | ||
+ | } | ||
+ | |||
+ | function goToMedals(){ | ||
+ | window.location = "https://2018.igem.org/Team:Warwick/Medals"; | ||
+ | } | ||
+ | |||
var amountToTurn = 0; | var amountToTurn = 0; | ||
Line 85: | Line 166: | ||
$("#BottNav").hide(); | $("#BottNav").hide(); | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
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", " | + | 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"); |
} | } | ||
function revealGurpreet(){ | function revealGurpreet(){ | ||
− | revealPerson("Gurpreet Dhaliwal", "https://static.igem.org/mediawiki/2018/7/77/T--Warwick--gurpreet.png", 19, "Inorganic - Lead", "2nd Year Biochemistry", " | + | revealPerson("Gurpreet Dhaliwal", "https://static.igem.org/mediawiki/2018/7/77/T--Warwick--gurpreet.png", 19, "Inorganic - Lead", "2nd Year Biochemistry", "I've been working on the Lead sub-team to try and make B.subtilis float."); |
} | } | ||
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"); |
} | } | ||
function revealJune(){ | function revealJune(){ | ||
− | revealPerson("June Ong", "https://static.igem.org/mediawiki/2018/4/4d/T--Warwick--JuneOng.jpg", 21, "Law - Human Practices and Outreach", "3rd Year Law", " | + | revealPerson("June Ong", "https://static.igem.org/mediawiki/2018/4/4d/T--Warwick--JuneOng.jpg", 21, "Law - Human Practices and Outreach", "3rd Year Law", "I am the law."); |
} | } | ||
function revealJanvi(){ | function revealJanvi(){ | ||
− | revealPerson("Janvi Ahuja", "https://static.igem.org/mediawiki/2018/c/cf/T--Warwick--JanviProfilePic.jpg", 19, "Inorganic - Lead" , "3rd Year Biomedical sciences", " | + | revealPerson("Janvi Ahuja", "https://static.igem.org/mediawiki/2018/c/cf/T--Warwick--JanviProfilePic.jpg", 19, "Inorganic - Lead" , "3rd Year Biomedical sciences", "I work on team lead making B.subtilis"); |
} | } | ||
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”"); |
} | } | ||
function revealLaura(){ | function revealLaura(){ | ||
− | revealPerson("Laura Mansfield", "https://static.igem.org/mediawiki/2018/7/7b/T--Warwick--Laura.jpg", 19, "Inorganic - Lead", "2nd Year Life Sciences With GSD", " | + | revealPerson("Laura Mansfield", "https://static.igem.org/mediawiki/2018/7/7b/T--Warwick--Laura.jpg", 19, "Inorganic - Lead", "2nd Year Life Sciences With GSD", "I work on the lead sub-team"); |
} | } | ||
Line 169: | Line 204: | ||
function revealJames(){ | function revealJames(){ | ||
− | revealPerson("James O'Brien", "https://static.igem.org/mediawiki/2018/ | + | revealPerson("James O'Brien", "https://static.igem.org/mediawiki/2018/e/e9/T--Warwick--James.jpg", 20, "4th Year Biomedical Sciences", "Organic - Oestregen", "“Oestregen is bad for the fishes”"); |
} | } | ||
Line 216: | 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 308: | 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