Difference between revisions of "Template:NUS Singapore"

 
(280 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 +
<head>
 +
<meta name="viewport" content="width=device-width, initial-scale=1">
 +
<meta charset="utf-8">
 +
<meta http-equiv="X-UA-Compatible" content="IE=edge">
 +
</head>
 +
<script>
  
<style>
+
// This is the jquery part of your template. 
 +
// Try not modify any of this code too much since it makes your menu work.
  
/*---------------------------------------
+
$(document).ready(function() {
    Style.CSS       
+
-----------------------------------------*/
+
body {
+
background: #ffffff;
+
    font-family: 'Poppins', sans-serif;
+
    font-style: normal;
+
font-weight: 400;
+
}
+
  
 +
$("#HQ_page").attr('id','');
  
/*---------------------------------------
+
// call the functions that control the menu
    Typorgraphy             
+
menu_functionality();
-----------------------------------------*/
+
hide_show_menu();
h1,h2,h3,h4,h5,h6 {
+
  font-weight: 600;
+
  text-align:center
+
}
+
  
h3,h5 {
 
  font-weight: 500;
 
}
 
  
h1 {
 
    font-size: 40px;
 
    letter-spacing: 2px;
 
    text-align:center;
 
}
 
  
h2 {
+
//this function controls the expand and collapse buttons of the menu and changes the +/- symbols
  font-size: 30px;
+
function menu_functionality() {
  text-transform: uppercase;
+
}
+
  
h3 {
+
//when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu
  line-height: 36px;
+
$(".menu_button").click(function(){
}
+
  
h5 {
+
// add or remove the class "open" , this class holds the "-"
    letter-spacing: 1px;
+
$(this).children().toggleClass("open");
    padding-top: 10px;
+
// show or hide the submenu
}
+
$(this).next('.submenu_wrapper').fadeToggle(400);
 +
});
  
p {
+
// when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu
    color: #707070;
+
$("#display_menu_control").click(function(){
    font-size: 14px;
+
$('#menu_content').fadeToggle(400);
    line-height: 24px;
+
});
}
+
  
a {
+
// call the current page highlight function
  text-decoration: none !important;
+
highlight_current_page();
  outline: none;
+
}
}
+
  
  
/*---------------------------------------
+
// call the highlight current page function to show it on the menu with a different background color
    General             
+
function highlight_current_page() {
-----------------------------------------*/
+
#overview {
+
  padding-top: 8rem;
+
  padding-bottom: 8rem;
+
}
+
  
#detail,
+
// select a page from the menu based on the id assigned to it and the current page name and add the class "current page" to make it change background color
#sponsors, footer {
+
$("#"+  wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page");
    padding-top: 5rem;
+
    padding-bottom: 5rem;
+
}
+
  
#detail, #sponsors,
+
// now that the current_page class has been added to a menu item, make the submenu fade in
footer {
+
$(".current_page").parents(".submenu_wrapper").fadeIn(400);
  text-align: center;
+
// change the +/- symbol of the corresponding menu button
}
+
$(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open");
 +
 +
}
  
#overview h3,
 
#detail h3,
 
{
 
    padding-bottom: 6px;
 
}
 
  
#intro{
 
    background: #f2545f;
 
    border-color: transparent;
 
}
 
.parallax-section {
 
  background-attachment: fixed !important;
 
  background-size: cover !important;
 
  text-align:center;
 
}
 
  
 +
// allow button on the black menu bar to show/hide the side menu
 +
function hide_show_menu() {
 +
 +
// in case you preview mode is selected, the menu is hidden for better visibility
 +
if (window.location.href.indexOf("submit") >= 0) {
 +
$(".igem_2017_menu_wrapper").hide();
 +
}
  
/*---------------------------------------
+
// if the black menu bar has been loaded
    Intro section             
+
  if (document.getElementById('bars_item')) {
-----------------------------------------*/
+
#intro {
+
    background: url('https://cbi-blog.s3.amazonaws.com/blog/wp-content/uploads/2017/02/iStock-450853983.jpg') 50% 0 repeat-y fixed;
+
    -webkit-background-size: cover;
+
    background-size: cover;
+
    background-position: center center;
+
    color: #ffffff;
+
    display: -webkit-box;
+
    display: -webkit-flex;
+
    display: -ms-flexbox;
+
    display: flex;
+
    -webkit-box-align: center;
+
    -webkit-align-items: center;
+
      -ms-flex-align: center;
+
          align-items: center;
+
    height: 80vh;
+
  
}
+
// when the "bars_item" has been clicked
 +
$("#bars_item").click(function() {
 +
$("#sideMenu").hide();
  
#intro h3 {
+
// show/hide the menu wrapper
  letter-spacing: 2px;
+
$(".igem_2017_menu_wrapper").fadeToggle("100");
}
+
});
 +
  }  
  
 +
// because the black menu bars loads at a different time than the rest of the page, this function is set on a time out so it can run again in case it has not been loaded yet
 +
else {
 +
    setTimeout(hide_show_menu, 15);
 +
}
 +
}
  
  
/*---------------------------------------
+
});
  Overview  section             
+
-----------------------------------------*/
+
#overview img {
+
  position: relative;
+
  padding-bottom: 22px;
+
}
+
  
  
 +
</script>
  
/*---------------------------------------
+
 
    Detail section             
+
<style>
-----------------------------------------*/
+
 
#detail {
+
 
     background: #222;
+
 
     color: #ffffff;
+
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
 +
/* Clear the default wiki settings */
 +
     
 +
#home_logo, #sideMenu { display:none; }
 +
#sideMenu, #top_title, .patrollink  {display:none;}
 +
#content { width:100%; padding:0px;  margin-top:-7px; margin-left:0px;}
 +
body {background-color:white; }
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 +
 +
/**************************************************************** MENU ***************************************************************/
 +
 
 +
 
 +
/********** Class for spliting different section = Clear content below while adds extra spacing when clearing content **********/
 +
.clear {
 +
     clear:both;
 +
     height: 50px;
 
}
 
}
  
#detail .fa {
+
.clear-largespace{
  color: #f2545f;
+
    clear:both;
  font-size: 48px;
+
    height: 100px;
 
}
 
}
  
/*---------------------------------------
+
/**********  Basic Content Class CSS Style  **********/
  Sponsors section             
+
p {
-----------------------------------------*/
+
  font-family:"Montserrat", serif;
#sponsors img {
+
  font-size: 18px;
   margin-top: 18px;
+
  line-height:150%;
 +
   text-align:justify;
 +
  color:#000000;
 
}
 
}
  
/*---------------------------------------
+
h1 {
  Footer section           
+
  color: #b48608;
-----------------------------------------*/
+
  font-family: 'Bookman', serif;
footer {
+
  font-size: 40px;
   background-attachment: fixed;
+
  font-weight: 400;
 +
  line-height: 44px;
 +
  margin: 0 0 12px; 
 +
  text-align: center;
 +
  font-weight: 1500;
 +
  text-decoration: underline;
 +
  border-style: none;
 +
}
 +
 
 +
h2 {
 +
  color: #2E86C1;
 +
  font-family:"Calibri", serif;
 +
  font-size: 30px;
 +
  font-weight: 200;
 +
  line-height: 44px;
 +
  margin: 0 0 12px; 
 +
  text-align: center;
 +
  font-weight: bold;
 +
  width:80%;
 +
  padding-left:10%;
 +
   padding-right:10%;
 
}
 
}
  
</style>
+
#teamh2 {
 +
  width:100%;
 +
  padding-left:0;
 +
  padding-right:0;
 +
}
  
 +
h3 {
 +
  color:#FAA403;
 +
  font-family:"Calibri", serif;
 +
  font-size: 25px;
 +
  font-weight: 200;
 +
  line-height: 44px;
 +
  margin: 0 0 12px;
 +
  text-align: left;
 +
  font-weight:bold;
 +
  width:80%;
 +
  padding-left:10%;
 +
  padding-right:10%;
 +
  }
  
<!--- THIS IS WHERE THE HTML BEGINS --->
+
h4 {
 +
  color:#b48608;
 +
  font-family:"Calibri", serif;
 +
  font-size: 20px;
 +
  font-weight: 180;
 +
  line-height: 44px;
 +
  margin: 0 0 12px;
 +
  text-align: center;
 +
  font-weight:bold;
 +
  width:80%;
 +
  padding-left:10%;
 +
  padding-right:10%;
 +
  }
  
 +
.nus ul {
 +
  font-family:"Montserrat", serif;
 +
  font-size: 18px;
 +
  line-height:150%;
 +
  color:#000000;
 +
 
 +
}
  
 +
.nus ol {
 +
font-family:"Montserrat", serif;
 +
  font-size: 18px;
 +
  line-height:150%;
 +
        color:#000000;
 +
}
 +
.nus {
 +
font-family:"Montserrat", serif;
 +
  font-size: 18px;
 +
  line-height:150%;
 +
        color:#000000;
 +
}
  
<head>
+
ul.nus {
 +
  font-family:"Montserrat", serif;
 +
  font-size: 18px;
 +
  line-height:150%;
 +
  color:#000000;
 +
 
 +
}
  
<!-- This tells the browser that your page is responsive -->
+
ol.nus  {
<meta name="viewport" content="width=device-width, initial-scale=1">
+
font-family:"Montserrat", serif;
 +
  font-size: 18px;
 +
  line-height:150%;
 +
        color:#000000;
 +
}
  
</head>
 
  
 +
/******************  image description subline  ****************/
 +
#imgdescription {
 +
        font-size:15px;
 +
        width:60%;
 +
        padding-left:20%;
 +
        padding-right:20%;
 +
        font-style:oblique;
 +
        text-align:center;
 +
}
  
 +
/******************  Reference  ****************/
 +
#Ref {
 +
        font-size:15px;
 +
}
  
<div class="igem_2017_menu_wrapper" >
+
/************************************************** Back to top button style **************************************************/
 +
#BacktoTopBtn {
 +
  display: none;
 +
  position: fixed;
 +
  bottom: 20px;
 +
  right: 30px;
 +
  z-index: 99;
 +
  border: none;
 +
  outline: none;
 +
  background-color: #F5B041;
 +
  color: white;
 +
  cursor: pointer;
 +
  padding: 15px;
 +
  border-radius: 20px;
 +
}
  
 +
#BacktoTopBtn:hover {
 +
  background-color: #2980B9;
 +
}
  
 +
/************************************************** Top menu and Dropdown list **************************************************/
  
<a href="https://2017.igem.org/Team:NUS_Singapore">
+
.team-logo {
<img src="http://placehold.it/350x150">
+
    width:20%;
</a>
+
    height:140px;
 +
    margin-left:20px;
 +
    padding-top:5px;
 +
    position:absolute;
 +
}
  
 +
.topmenu-container {
 +
    overflow: hidden;
 +
    background-color: #F8F9F9;
 +
    padding-top:100px;
 +
    margin:0;
 +
    }
  
<!-- this div is hidden by default and will only be displayed if the screen size is too small -->
+
.topmenu-container a {
<div class="menu_button" id="display_menu_control">
+
    float: right;
MENU 
+
    font-family:"Comic Sans MS", sans-serif;
</div>
+
    font-size: 18px;
 +
    color: #566573;
 +
    text-align: center;
 +
    padding: 19px 16px;
 +
    text-decoration: none;
 +
    border: none;
 +
   
 +
}
  
<div id="menu_content">
+
.dropdown {
+
    float: right;
 +
    overflow: hidden;
 +
}
  
 +
.dropdown  .dropbtn {
 +
    font-family:"Comic Sans MS", sans-serif;
 +
    font-size: 18px;
 +
    border: none;
 +
    text-align: center;
 +
    outline: none;
 +
    color:  #566573;
 +
    padding: 14px 16px;
 +
    background-color: inherit;
 +
}
  
 +
.dropdown-content {
 +
    display: none;
 +
    position: absolute;
 +
    background-color:#FFFFFF;
 +
    min-width: 160px;
 +
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 +
    z-index: 1;
 +
}
  
<a href="https://2017.igem.org/Team:NUS_Singapore">
+
.dropdown-content a {
<div class="menu_button direct_to_page">
+
    float: none;
HOME
+
    color: #566573;
</div>
+
    padding: 12px 16px;
</a>
+
    text-decoration: none;
 +
    display: block;
 +
    text-align: center;
 +
}
  
  
 +
/***************************************************    Hover effect of Top menu  ***************************************/
 +
.topmenucontainer a:hover, .dropdown:hover .dropbtn {
 +
    background-color: #AED6F1;
 +
}
  
<div class="menu_button">
+
.dropdown-content a:hover {
<div class="expand_collapse_icon">  </div> TEAM
+
    background-color: #ddd;
</div>
+
}
  
<div class="submenu_wrapper" id="team_submenu">
+
.dropdown:hover .dropdown-content {
+
    display: inline-block;
<a href="https://2017.igem.org/Team:NUS_Singapore/Team">
+
}
<div class="submenu_button" id="Team_page">
+
Team
+
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Collaborations">
 
<div class="submenu_button"  id="Collaborations_page">
 
Collaborations
 
</div>
 
</a>
 
 
 
</div>
 
  
 +
/***************************  Social contact link *************************/
 +
.fa {
 +
  padding: 20px;
 +
  font-size: 30px;
 +
  width: 30px;
 +
  text-align: center;
 +
  text-decoration: none;
 +
  border-radius: 50%;
 +
}
  
+
.fa:hover {
+
    opacity: 0.7;
 +
}
  
<div class="menu_button">
+
.fa-facebook {
<div class="expand_collapse_icon">  </div> PROJECT
+
  background: #3B5998;
</div>
+
  color: #FFFFFF;
 +
}
  
<!-- project submenu -->
+
.fa-instagram {
<div class="submenu_wrapper">
+
  background: #125688;
+
  color: #FFFFFF;
<a href="https://2017.igem.org/Team:NUS_Singapore/Description">
+
}
<div class="submenu_button"  id="Description_page">
+
Description
+
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Design">
+
.fa-google {
<div class="submenu_button"  id="Design_page">
+
  background: #dd4b39;
Design
+
  color: #FFFFFF;
</div>
+
}
</a>
+
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Experiments">
+
/************************  Quick Link Footer  **************************/
<div class="submenu_button"  id="Experiments_page">
+
.quicklink p {
Experiments
+
background-color:#F0F3F4;
</div>
+
width:100%;
</a>
+
text-align: center;
 +
height:60px;
 +
padding:10px;
 +
margin:0px;
 +
font-weight: bold;
 +
font-size: 20px;
 +
}
  
 +
.quicklink-container {
 +
      background-color:#F0F3F4;
 +
      width:100%;
 +
      height:200px;
 +
      position:absolute;
 +
}
 +
.quicklink-1 {
 +
background-color:#F0F3F4;
 +
width:25%;
 +
height:300px;
 +
padding-left:7%;
 +
padding-right:7%;
 +
position:relative;
 +
float:left;
 +
text-align: center;
 +
text-decoration: none;
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Notebook">
+
}
<div class="submenu_button"  id="Notebook_page">
+
.quicklink-2 {
Notebook
+
background-color:#F0F3F4;
</div>
+
width:25%;
</a>
+
height:300px;
 +
padding-left:7%;
 +
padding-right:7%;
 +
position:relative;
 +
float:left;
 +
text-align: center;
 +
text-decoration: none;
 +
}
 +
.quicklink-3 {
 +
background-color:#F0F3F4;
 +
width:25%;
 +
height:300px;
 +
padding-left:7%;
 +
padding-right:7%;
 +
position:relative;
 +
float:left;
 +
text-align: center;
 +
text-decoration: none;
 +
}
 +
.quicklink-4 {
 +
background-color:#F0F3F4;
 +
width:25%;
 +
height:300px;
 +
padding-left:7%;
 +
padding-right:7%;
 +
position:relative;
 +
float:left;
 +
text-align: center;
 +
text-decoration: none;
 +
}
  
<a href="https://2017.igem.org/Team:NUS_Singapore/InterLab">
+
.quicklink-4 a {
<div class="submenu_button" id="InterLab_page">
+
        color:#808B96;
InterLab
+
          font-size:15px;
</div>
+
}
</a>
+
.quicklink-3 a {
 +
        color:#808B96;
 +
  font-size:15px;
 +
}
 +
.quicklink-2 a {
 +
        color:#808B96;
 +
font-size:15px;
 +
}
 +
.quicklink-1 a {
 +
        color:#808B96;
 +
font-size:15px;
 +
}
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Contribution">
+
/**************************************** Sponsor and Social Connact Link Cover  ****************************************/
<div class="submenu_button"  id="Contribution_page">
+
.footer-container{
Contribution
+
  width:100%;
</div>
+
  height:300px;
</a>
+
  background-color:#F0F3F4 ;
 +
  position:absolute;
 +
}
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Model">
+
.footer-sponsor-container{
<div class="submenu_button" id="Model_page">
+
  width:70%; /*split the sponsor container from the full footer-container */
Model
+
  background-color:inherit;
</div>
+
  padding:20px;
</a>
+
  padding-top:30px;
 +
  float:left;
 +
}
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Results">
+
.footer-contact-container{
<div class="submenu_button"  id="Results_page">
+
  width:30%; /*split the sponsor container from the full footer-container */
Results
+
  padding-top:20px;
</div>
+
  background-color:inherit;
</a>
+
  float:right;
 +
}
  
 +
img.social-icon {
 +
    margin:2%;
 +
    position:relative;
 +
    float:left;
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Demonstrate">
+
}
<div class="submenu_button"  id="Demonstrate_page">
+
Demonstrate
+
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Improve">
 
<div class="submenu_button"  id="Improve_page">
 
Improve
 
</div>
 
</a>
 
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Attributions">
+
/*Responsive Deisgn*/
<div class="submenu_button"  id="Attributions_page">
+
Attributions
+
</div>
+
</a>
+
  
</div>
 
  
+
/*********************  Responsive Design  *********************/
+
+
+
  
<div class="menu_button">
+
/*
<div class="expand_collapse_icon">  </div> PARTS
+
  ##Device = Tablets, Ipads (landscape)
</div>
+
  ##Screen = B/w 768px to 1024px
+
*/
<!-- parts submenu -->
+
<div class="submenu_wrapper">
+
+
<a href="https://2017.igem.org/Team:NUS_Singapore/Parts">
+
<div class="submenu_button"  id="Parts_page">
+
Parts
+
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Basic_Part">
+
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
<div class="submenu_button"  id="Basic_Part_page">
+
 
Basic Parts
+
}
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Composite_Part">
+
/*
<div class="submenu_button"  id="Composite_Part_page">
+
  ##Device = Most of the Smartphones Mobiles (Portrait)
Composite Parts
+
  ##Screen = B/w 320px to 479px
</div>
+
  ##Device = Tablets, Ipads (portrait)
</a>
+
  ##Screen = B/w 768px to 1024px
 +
*/
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Part_Collection">
+
@media (min-width: 0px) and (max-width: 1024px) {
<div class="submenu_button"  id="Part_Collection_page">
+
Part Collection
+
</div>
+
</a>
+
</div>
+
  
+
/*Basics*/
+
  p {
+
      font-size: 13px;
+
      }
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Safety">
+
.nus ul{
<div class="menu_button direct_to_page">
+
  font-size: 10px;
SAFETY
+
}
</div>
+
</a>
+
  
 +
.nus ol {
 +
  font-size: 10px;
 +
}
  
 +
ol.nus {
 +
  font-size: 10px;
 +
}
  
 +
ul.nus {
 +
  font-size: 10px;
 +
}
  
 +
.nus {
 +
  font-size: 10px;
 +
}
  
 +
h1 {
 +
  font-size: 28px;
 +
}
  
 +
h2 {
 +
  font-size: 20px;
 +
}
  
<div class="menu_button" >
+
h3 {
<div class="expand_collapse_icon">  </div> HUMAN PRACTICES
+
  font-size: 15px;
</div>
+
}
  
<!-- human practices submenu -->
+
#imgdescription {
<div class="submenu_wrapper">
+
        font-size:8px;
 +
}
  
<a href="https://2017.igem.org/Team:NUS_Singapore/HP/Silver">
+
/*drop down menu*/
<div class="submenu_button"  id="Silver_page">
+
.team-logo {
Silver HP
+
      margin:0px;
</div>
+
      width:100%;
</a>
+
      height:200px;
 +
      position:relative;
 +
  }
  
<a href="https://2017.igem.org/Team:NUS_Singapore/HP/Gold_Integrated">
+
  .topmenu-container {
<div class="submenu_button" id="Gold_Integrated_page">
+
      padding:10px;
Integrated and Gold
+
      }
</div>
+
</a>
+
  
 +
  .topmenu-container a{
 +
      font-size: 18px;
 +
      padding: 8px 5px;
 +
      font-weight:1000;
 +
  }
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Engagement">
+
  .dropdown .dropbtn {
<div class="submenu_button"  id="Engagement_page">
+
      font-size: 18px;
Public Engagement
+
      padding: 7px 4px;
</div>
+
      font-weight:1000;
</a>
+
    display: inline-block; 
 +
  }
  
</div>
+
  .dropdown-content {
 +
    min-width: 10px;
 +
    box-shadow: 0px 4px 6px 0px rgba(0,0,0,0.2);
 +
    }
  
 +
  .dropdown-content a{
 +
    padding: 8px;
 +
  }
  
<div class="menu_button">
+
.social-icon img {
<div class="expand_collapse_icon">  </div> AWARDS
+
    width:25%;
</div>
+
    display:block;
 +
    padding:5px;
 +
    position:relative;
 +
    float:left;
 +
  }
  
<!-- awards submenu -->
+
  #Ref {
<div class="submenu_wrapper">
+
font-size:8px;
 +
  }
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Applied_Design">
+
/******************  image description subline  ****************/
<div class="submenu_button"  id="Applied_Design_page">
+
#imgdescription {
Applied Design
+
        font-size:8px;
</div>
+
        width:80%;
</a>
+
        padding-left:10%;
 +
        padding-right:10%;
 +
        font-style:oblique;
 +
        text-align:center;
 +
}
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Entrepreneurship">
+
/************************************************** Back to top button style **************************************************/
<div class="submenu_button"  id="Entrepreneurship_page">
+
#BacktoTopBtn {
Entrepreneurship
+
  display: none;
</div>
+
  position: fixed;
</a>
+
  bottom: 3px;
 +
  right: 5px;
 +
  z-index: 99;
 +
  border: none;
 +
  outline: none;
 +
  background-color: #F5B041;
 +
  color: white;
 +
  cursor: pointer;
 +
  padding: 5px;
 +
  border-radius: 20px;
 +
}
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Hardware">
+
#BacktoTopBtn:hover {
<div class="submenu_button"  id="Hardware_page">
+
  background-color: #2980B9;
Hardware
+
}
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Measurement">
+
}
<div class="submenu_button"  id="Measurement_page">
+
Measurement
+
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Model">
+
</style>
<div class="submenu_button"  id="Model_page">
+
Model
+
</div>
+
</a>
+
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Plant">
 
<div class="submenu_button"  id="Plant_page">
 
Plant
 
</div>
 
</a>
 
  
  
<a href="https://2017.igem.org/Team:NUS_Singapore/Software">
+
<!--****************************************** Here is where the main content starts ******************************************-->
<div class="submenu_button" id="Software_page">
+
<body>
Software
+
</div>
+
</a>
+
  
</div>  
+
<!--  IGEM NUS LOGO  -->
 +
<div><a href="https://2017.igem.org/Team:NUS_Singapore" ><img class="team-logo" src="https://static.igem.org/mediawiki/2017/0/0c/NUS_2017_IGEM_Logo3.png"></a></div>
  
<a href="https://igem.org/2017_Judging_Form?team=NUS_Singapore">
+
<!-- Top Menu -->
<div class="menu_button direct_to_page">
+
<div class="topmenu-container">
JUDGING FORM
+
</div>
+
</a>
+
  
 +
<div class="dropdown">
 +
    <button class="dropbtn">Awards Check </button>
 +
    <div class="dropdown-content">
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Measurement">Measurement</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Model">Modelling</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Medal Check List">Medal Check List</a>
 +
    </div>
 +
  </div>
  
+
  <div class="dropdown">
<div class="menu_bottom_padding" >
+
      <button class="dropbtn">Team</button>
</div>  
+
      <div class="dropdown-content">
+
        <a href="https://2017.igem.org/Team:NUS_Singapore/Team">Team Member</a>
</div>
+
        <a href="https://2017.igem.org/Team:NUS_Singapore/Attributions">Attributions</a>
 +
      </div>
 +
  </div>
  
 +
<div class="dropdown">
 +
    <button class="dropbtn">Collaboration</button>
 +
    <div class="dropdown-content">
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Collaborations">Collaboration</a>
 +
    </div>
 +
  </div>
  
 +
  <div class="dropdown">
 +
      <button class="dropbtn">Human Practice</button>
 +
      <div class="dropdown-content">
 +
        <a href="https://2017.igem.org/Team:NUS_Singapore/HP/Silver">Silver Up</a>
 +
        <a href="https://2017.igem.org/Team:NUS_Singapore/HP/Gold_Integrated">Gold Integrated</a>
 +
    </div>
 +
  </div>
  
 +
  <div class="dropdown">
 +
    <button class="dropbtn">Modelling</button>
 +
    <div class="dropdown-content">
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Overview">Overview</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Methodology">Methodology</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Model_P">Kill Switch for Probiotics</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Model_B">Kill Switch for BeeT</a>
 +
    </div>
 +
  </div>
  
 +
  <div class="dropdown">
 +
    <button class="dropbtn">Projects</button>
 +
    <div class="dropdown-content">
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Description">Description</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/InterLab">Interlab Study</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Parts">Parts</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Experiments">Experiment</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Notebook">Documentation</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Improvement">Improvement</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Demonstrate">Demonstrate</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Safety">Safety</a>
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore/Future Work">Future Works</a>
 +
   
 +
    </div>
 +
  </div>
 +
 +
  <div class="dropdown">
 +
      <a href="https://2017.igem.org/Team:NUS_Singapore">Home</a>
 +
  </div>
 
</div>
 
</div>
  
 +
<!--***********************************************  Back to top button ***********************************************-->
 +
<button onclick="topFunction()" id="BacktoTopBtn" title="Go to top">Back to Top</button>
  
  
<!-- start of content -->
+
<script>
<div class="igem_2017_content_wrapper">
+
//**************************************** Back to top button Javascript ****************************************//
<h1>NUS_Singapore</h1>
+
// When the user scrolls down 50px from the top of the document, show the button
 +
window.onscroll = function() {scrollFunction()};
 +
 
 +
function scrollFunction() {
 +
    if (document.body.scrollTop > 500 || document.documentElement.scrollTop > 500) {
 +
        document.getElementById("BacktoTopBtn").style.display = "block";
 +
    } else {
 +
        document.getElementById("BacktoTopBtn").style.display = "none";
 +
    }
 +
}
 +
 
 +
// When the user clicks on the button, scroll to the top of the document
 +
function topFunction() {
 +
    document.body.scrollTop = 0;
 +
    document.documentElement.scrollTop = 0;
 +
}
 +
</script>
 +
 
 +
</body>
 +
</html>

Latest revision as of 16:54, 1 November 2017