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 43: | Line 43: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
function reset(){ | function reset(){ | ||
Line 88: | Line 50: | ||
<script> | <script> | ||
+ | |||
+ | function goHome(){ | ||
+ | window.location = 'https://2018.igem.org/Team:Warwick'; | ||
+ | } | ||
+ | |||
+ | |||
function scrollToFooter(){ | function scrollToFooter(){ | ||
$('html, body').animate({scrollTop: '10000px'}, 5000); | $('html, body').animate({scrollTop: '10000px'}, 5000); | ||
Line 96: | Line 64: | ||
} | } | ||
− | function | + | function goToAttributions(){ |
− | window.location = 'https://2018.igem.org/Team:Warwick/Attributions' | + | window.location = 'https://2018.igem.org/Team:Warwick/Attributions'; |
} | } | ||
− | function | + | function goToOutreach(){ |
− | + | window.location = 'https://2018.igem.org/Team:Warwick/Outreach'; | |
} | } | ||
− | function | + | function goToHumanPractices(){ |
− | window.location = 'https://2018.igem.org/Team:Warwick/ | + | window.location = 'https://2018.igem.org/Team:Warwick/Human_Practices'; |
} | } | ||
− | function | + | function goToCollaborations(){ |
− | + | window.location = 'https://2018.igem.org/Team:Warwick/Collaborations'; | |
} | } | ||
− | function | + | function goToDescription(){ |
− | window.location = 'https://2018.igem.org/Team:Warwick/ | + | window.location = 'https://2018.igem.org/Team:Warwick/Description'; |
} | } | ||
− | function | + | function goToDesign(){ |
− | window.location = 'https://2018.igem.org/Team:Warwick/ | + | window.location = 'https://2018.igem.org/Team:Warwick/Design'; |
} | } | ||
− | function | + | function goToExperiments(){ |
− | window.location = 'https://2018.igem.org/Team:Warwick/ | + | window.location = 'https://2018.igem.org/Team:Warwick/Experiments'; |
} | } | ||
− | function | + | function goToInterlab(){ |
− | window.location = 'https://2018.igem.org/Team:Warwick/ | + | window.location = 'https://2018.igem.org/Team:Warwick/InterLab'; |
} | } | ||
− | function | + | function goToModel(){ |
− | window.location = 'https://2018.igem.org/Team:Warwick/ | + | window.location = 'https://2018.igem.org/Team:Warwick/Model'; |
} | } | ||
+ | |||
+ | function goHome(){ | ||
+ | window.location = "https://2018.igem.org/Team:Warwick"; | ||
+ | } | ||
+ | |||
count1 = 0; | count1 = 0; | ||
Line 224: | Line 197: | ||
− | + | <div id='Navbar' onmouseleave='reset()'> | |
<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)"> | + | --><li><span class='topnavs' id='topnav1' onmouseenter="changeNavBar(1)">Parts</span></li><!-- |
--><li><span class='topnavs' id='topnav2' onmouseenter="changeNavBar(2)">Human Practices</span></li><!-- | --><li><span class='topnavs' id='topnav2' onmouseenter="changeNavBar(2)">Human Practices</span></li><!-- | ||
--><li><span class='topnavs' id='topnav3' onmouseenter="changeNavBar(3)">The Team</span></li><!-- | --><li><span class='topnavs' id='topnav3' onmouseenter="changeNavBar(3)">The Team</span></li><!-- |
Revision as of 13:07, 8 October 2018
Human Practices
The Need for our Projects
DummyText Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim.
Intergrated Human Practices
DummyText Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim.
Education and Public Engagement
DummyText Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim.
igem@warwick.ac.uk