(Prototype team page) |
m |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
<html> | <html> | ||
+ | <head> | ||
+ | <meta charset="UTF-8"> | ||
+ | <link rel="stylesheet" href="https://2018.igem.org/Team:Warwick/CSS?action=raw&ctype=text/css"> | ||
+ | <link rel="stylesheet" href="https://2018.igem.org/Team:Warwick/CSS/GenericPageCSS?action=raw&ctype=text/css"> | ||
+ | <link rel="stylesheet" href="https://2018.igem.org/Team:Warwick/CSS/MedalsCSS?action=raw&ctype=text/css"> | ||
+ | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | ||
+ | <style> | ||
+ | #groupparts{ width: 100% !important; margin: 0;} | ||
+ | td{ padding: 1% !important; } | ||
− | + | #groupparts table tbody tr:nth-child(6), #groupparts table tbody tr:nth-child(7){ | |
− | + | display: none !important; | |
− | + | } | |
− | + | </style> | |
− | </ | + | |
− | < | + | <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){ | ||
+ | var bottnav = document.getElementById("BottNav"); | ||
− | + | $("#BottNav").hide().slideDown(300); | |
− | + | ||
− | + | switch (navbarSelection){ | |
− | + | ||
− | < | + | case 0: |
− | < | + | 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.background = 'linear-gradient(to right, white, #e6fefe)'; | |
− | </a> | + | break; |
− | </ | + | case 1: |
+ | 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.background = 'linear-gradient(to right, #e6fefe, #d8fdfd)'; | ||
+ | break; | ||
+ | case 2: | ||
+ | bottnav.innerHTML = "<li onclick='goToHumanPractices()'><span>Integrated Human Practices</span></li><li onclick='Outreach()'><span>Public Engagement</span></li>"; | ||
+ | bottnav.style.marginLeft = "55%" | ||
+ | bottnav.style.background = 'linear-gradient(to right, #d8fdfd, #bbf0f3)'; | ||
+ | break; | ||
+ | case 3: | ||
+ | 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.background = 'linear-gradient(to right, #bbf0f3, #85e4e9)'; | ||
+ | break; | ||
+ | case 4: | ||
+ | bottnav.innerHTML = "<li><span><a href='mailto:igem@warwick.ac.uk'>iGEM@warwick.ac.uk</a></span></li><li id='scrollToBottom' onclick='scrollToFooter()'><span>Social Media</span></li>"; | ||
+ | bottnav.style.marginLeft = "85%"; | ||
+ | bottnav.style.background = 'linear-gradient(to right, #85e4e9, #02c9d0)'; | ||
+ | break; | ||
+ | } | ||
+ | } | ||
− | + | function reset(){ | |
− | + | $("#BottNav").hide(); | |
+ | } | ||
+ | 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"; | |
− | + | } | |
− | + | function BioClick(){ | |
− | + | $("#bioIMG").css("margin", "1% 4%"); | |
+ | $("#bioIMG").css("width", "12%"); | ||
+ | $("#bioIMG").css("background-color", "grey"); | ||
− | + | $("#orgIMG").css("margin", "2% 5%"); | |
+ | $("#orgIMG").css("width", "10%"); | ||
+ | $("#orgIMG").css("background-color", "white"); | ||
− | </html> | + | $("#inorgIMG").css("margin", "2% 5%"); |
− | <groupparts>iGEM18 Warwick</groupparts> | + | $("#inorgIMG").css("width", "10%"); |
− | <html> | + | $("#inorgIMG").css("background-color", "white"); |
− | </div> | + | } |
+ | |||
+ | function OrgClick(){ | ||
+ | $("#bioIMG").css("margin", "2% 5%"); | ||
+ | $("#bioIMG").css("width", "10%"); | ||
+ | $("#bioIMG").css("background-color", "white"); | ||
+ | |||
+ | $("#orgIMG").css("margin", "1% 4%"); | ||
+ | $("#orgIMG").css("width", "12%"); | ||
+ | $("#orgIMG").css("background-color", "grey"); | ||
+ | |||
+ | $("#inorgIMG").css("margin", "2% 5%"); | ||
+ | $("#inorgIMG").css("width", "10%"); | ||
+ | $("#inorgIMG").css("background-color", "white"); | ||
+ | } | ||
+ | |||
+ | function InorgClick(){ | ||
+ | $("#bioIMG").css("margin", "2% 5%"); | ||
+ | $("#bioIMG").css("width", "10%"); | ||
+ | $("#bioIMG").css("background-color", "white"); | ||
+ | |||
+ | $("#orgIMG").css("margin", "2% 5%"); | ||
+ | $("#orgIMG").css("width", "10%"); | ||
+ | $("#orgIMG").css("background-color", "white"); | ||
+ | |||
+ | $("#inorgIMG").css("margin", "1% 4%"); | ||
+ | $("#inorgIMG").css("width", "12%"); | ||
+ | $("#inorgIMG").css("background-color", "grey"); | ||
+ | } | ||
+ | |||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
+ | <script> | ||
+ | $(function () { | ||
+ | $(document).scroll(function () { | ||
+ | $nav = $("#Navbar"); | ||
+ | $nav.toggleClass('scrolled', $(this).scrollTop() > $nav.height()); | ||
+ | $("#TopNav").toggleClass("TopNavsscrolled", $(this).scrollTop() > $nav.height()); | ||
+ | $("#topnav0").toggleClass("topnav0scrolled", $(this).scrollTop() > $nav.height()); | ||
+ | $("#topnav1").toggleClass("topnav1scrolled", $(this).scrollTop() > $nav.height()); | ||
+ | $("#topnav2").toggleClass("topnav2scrolled", $(this).scrollTop() > $nav.height()); | ||
+ | $("#topnav3").toggleClass("topnav3scrolled", $(this).scrollTop() > $nav.height()); | ||
+ | $("#topnav4").toggleClass("topnav4scrolled", $(this).scrollTop() > $nav.height()); | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | </script> | ||
+ | <title>Ripple</title> | ||
+ | <link rel="icon" href="images/RippleLogo.ico"> | ||
+ | |||
+ | </head> | ||
+ | |||
+ | <body> | ||
+ | |||
+ | |||
+ | <div id='Navbar'> | ||
+ | <div id='TopNav'> | ||
+ | <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='topnav1' onmouseenter="changeNavBar(1)">Lab Work</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='topnav4' onmouseenter="changeNavBar(4)">Contact Us</span></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | <div> | ||
+ | <ul id='BottNav' style='display: none;' onmouseleave='reset()'> | ||
+ | <li><span></span></li><!-- | ||
+ | --><li><span></span></li><!-- | ||
+ | --><li><span></span></li><!-- | ||
+ | --><li><span></span></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <div id='GenericBody'> | ||
+ | <div><br> | ||
+ | <h1 id='GenericTitle'>Parts</h1> | ||
+ | </div> | ||
+ | <div style='width: 70%; height: 2px; margin: 2% 15% 5% 15%; background-color: #02c9d0'></div> | ||
+ | <div id='descriptionFolder'> | ||
+ | |||
+ | <div style='width: 90%; padding: 2% 5%; background-color: #85e4e9;'></html> | ||
+ | <groupparts>iGEM18 Warwick</groupparts><html> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | <div id='footer'> | ||
+ | |||
+ | <div id='leftFoot'> | ||
+ | <h1 class='FooterTitle' style='margin: 15px auto'>Contact Us</h1> | ||
+ | <div id='socialmedia'> | ||
+ | <h1 style='color: white; font-weight: 300; font-size: 1.5vw;'>igem@warwick.ac.uk</h1> | ||
+ | <br> | ||
+ | <a class='socialMedia' style='margin-left: 5%' href="https://www.youtube.com/channel/UCHhLKgvGJFkdSmwgGPvN9PA"> | ||
+ | <img src="https://static.igem.org/mediawiki/2018/6/61/T--Warwick--YTRed.png" alt="YouTube"> | ||
+ | </a> | ||
+ | <a class='socialMedia' href="https://twitter.com/warwickigem"> | ||
+ | <img src="https://static.igem.org/mediawiki/2018/f/f0/T--Warwick--Twitterlogo.png" alt="Twitter"> | ||
+ | </a> | ||
+ | <a class='socialMedia' href="https://www.instagram.com/igem_warwick/"> | ||
+ | <img src="https://static.igem.org/mediawiki/2018/1/12/T--Warwick--insta.png" alt="Twitter"> | ||
+ | </a> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id='rightFoot'> | ||
+ | <h1 class='FooterTitle' style='color: black'>Sponsors</h1> | ||
+ | <table id='theSponsors'> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <img class='sponsorimages' src="https://static.igem.org/mediawiki/2018/4/4e/T--Warwick--GRPIM.png"> | ||
+ | </td> | ||
+ | <td> | ||
+ | <img class='sponsorimages' src="https://static.igem.org/mediawiki/2018/b/bb/T--Warwick--WSFG.png"> | ||
+ | </td> | ||
+ | <td> | ||
+ | <img class='sponsorimages' src="https://static.igem.org/mediawiki/2018/7/74/T--Warwick--synbiocdt.png"> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <img class='sponsorimages' src="https://static.igem.org/mediawiki/2018/c/c4/T--Warwick--snapgene.png"> | ||
+ | </td> | ||
+ | <td> | ||
+ | <img class='sponsorimages' src="https://static.igem.org/mediawiki/2018/8/8b/T--Warwick--SEB.png"> | ||
+ | </td> | ||
+ | <td> | ||
+ | <img class='sponsorimages' src="https://static.igem.org/mediawiki/2018/f/fb/T--Warwick--NEbiolabs.png"> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <table id='theSponsors'> | ||
+ | <tr> | ||
+ | <td class='bottomrow'> | ||
+ | <img class='sponsorimages' src="https://static.igem.org/mediawiki/2018/0/0e/T--Warwick--WISB.png"> | ||
+ | </td> | ||
+ | <td class='bottomrow'> | ||
+ | <img class='sponsorimages' src="https://static.igem.org/mediawiki/2018/e/e3/T--Warwick--bbsrc.png"> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | </div> | ||
+ | </div> | ||
+ | </body> | ||
</html> | </html> |
Latest revision as of 03:37, 18 October 2018
Parts
<groupparts>iGEM18 Warwick</groupparts>
igem@warwick.ac.uk