m |
m |
||
Line 16: | Line 16: | ||
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='goToExperiments()'><span>Experiments</span></li><li onclick='goToNotebook()'><span>Notebook</span></li><li onclick='goToInterLab()'><span>InterLab</span></li><li onclick='goToModel()'><span>Modelling</span></li><li onclick='goToResults()'><span>Results</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>Overview</span></li><li onclick='goToBasicParts()'><span>Basic Parts</span></li><li onclick='goToCompositeParts()'><span>Composite Parts</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)'; | ||
Line 31: | Line 31: | ||
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 42: | ||
} | } | ||
} | } | ||
+ | |||
+ | |||
+ | 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/Outreach'; | ||
+ | } | ||
+ | |||
+ | 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"; | ||
+ | } | ||
+ | |||
var amountToTurn = 0; | var amountToTurn = 0; | ||
Line 85: | Line 147: | ||
$("#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", "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?"); |
Revision as of 13:05, 8 October 2018
igem@warwick.ac.uk