Difference between revisions of "Template:Peking"

 
Line 1: Line 1:
<!DOCTYPE html>
 
 
<html>
 
<html>
<head>
 
    <meta charset="utf-8">
 
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 
    <meta name="viewport" content="width=device-width, initial-scale=1">
 
  
    <title>Team:Peking</title>
+
<script>
    <!-- load stylesheets -->
+
 
    <!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400"> -->
+
// This is the jquery part of your template. 
    <!-- Google web font "Open Sans" -->
+
// Try not modify any of this code too much since it makes your menu work.
    <link rel="stylesheet" href="font-awesome-4.5.0/css/font-awesome.min.css">               
+
 
    <!-- Font Awesome -->
+
$(document).ready(function() {
    <link rel="stylesheet" href="css/bootstrap.min.css">                                     
+
 
    <!-- Bootstrap style -->
+
$("#HQ_page").attr('id','');
    <link rel="stylesheet" href="css/hero-slider-style.css">                             
+
 
    <!-- Hero slider style (https://codyhouse.co/gem/hero-slider/) -->
+
// call the functions that control the menu
    <link rel="stylesheet" href="css/magnific-popup.css">                               
+
menu_functionality();
    <!-- Magnific popup style (http://dimsemenov.com/plugins/magnific-popup/) -->
+
hide_show_menu();
    <link rel="stylesheet" href="css/templatemo-style.css">                                  
+
 
    <!-- Templatemo style -->
+
 
 +
 
 +
//this function controls the expand and collapse buttons of the menu and changes the +/- symbols
 +
function menu_functionality() {
 +
 
 +
//when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu
 +
$(".menu_button").click(function(){
 +
 
 +
// add or remove the class "open" , this class holds the "-"
 +
$(this).children().toggleClass("open");
 +
// show or hide the submenu
 +
$(this).next('.submenu_wrapper').fadeToggle(400);
 +
});
 +
 
 +
// when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu
 +
$("#display_menu_control").click(function(){
 +
$('#menu_content').fadeToggle(400);
 +
});
 +
 
 +
// call the current page highlight function
 +
highlight_current_page();
 +
}
 +
 
 +
 
 +
// call the highlight current page function to show it on the menu with a different background color
 +
function highlight_current_page() {
 +
 
 +
// 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
 +
$("#"+  wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page");
 +
 
 +
// now that the current_page class has been added to a menu item, make the submenu fade in
 +
$(".current_page").parents(".submenu_wrapper").fadeIn(400);
 +
// change the +/- symbol of the corresponding menu button
 +
$(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open");
 +
 +
}
 +
 
 +
 
 +
 
 +
// 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
 +
  if (document.getElementById('bars_item')) {
 +
 
 +
// when the "bars_item" has been clicked
 +
$("#bars_item").click(function() {
 +
$("#sideMenu").hide();
 +
 
 +
// show/hide the menu wrapper
 +
$(".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);
 +
}
 +
}
 +
 
 +
 
 +
});
 +
 
 +
 
 +
</script>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<style>
 +
 
 +
 
 +
 
 +
/***************************************************** 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 ***************************************************************/
 +
/* Wrapper for the menu */
 +
.igem_2017_menu_wrapper {
 +
width: 15%;
 +
height:100vh;
 +
position:fixed;
 +
right:0%;
 +
padding:0px;
 +
float:right;
 +
border-left: 1px solid #d3d3d3;
 +
background-color:#dddddd;
 +
text-align:left;
 +
font-family:Tahoma, Geneva, sans-serif;
 +
overflow-y: auto;
 +
overflow-x: hidden;
 +
}
 +
 
 +
/* this hides the scrollbar to keep view consistency */
 +
.igem_2017_menu_wrappe::-webkit-scrollbar {
 +
display: none;
 +
}
 +
 +
 +
/* styling for links in the menu, removes the line under text */
 +
.igem_2017_menu_wrapper a { 
 +
text-decoration: none;
 +
}
 +
 
 +
 
 +
/* styling for the images in the menu */
 +
.igem_2017_menu_wrapper img {
 +
width: 100%;
 +
}
 +
 
 +
/* styling for the menu buttons */
 +
.igem_2017_menu_wrapper .menu_button {
 +
width: 100%;
 +
padding: 10px 0px 10px 15px;
 +
float:left;
 +
border-bottom: 1px solid #d3d3d3;
 +
font-size: 12px;
 +
font-weight: bold;
 +
color: #5e5f5f;
 +
cursor: pointer;
 +
}
 +
 
 +
 
 +
.igem_2017_menu_wrapper .menu_bottom_padding {
 +
width: 100%;
 +
height: 30px;
 +
float:left;
 +
}
 +
 
 +
.menu_button.direct_to_page {
 +
padding-left: 36px;
 +
}
 +
 
 +
 
 +
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon {
 +
width:10%;
 +
float:left;
 +
}
 +
 
 +
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before {
 +
content: "+"
 +
}
 +
 +
.open::before {
 +
content: "-" !important; 
 +
}
 +
 +
 +
 +
/* styling for the menu buttons on hover */
 +
.igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover ,  .submenu_button.current_page:hover {
 +
background-color: #3399ff;
 +
text-decoration: none;
 +
color:#ffffff;
 +
}
 +
 
 +
/* styling for the menu button when it is the current page */
 +
.current_page {
 +
background-color:#7fc1f7  !important;
 +
color:#5e5f5f !important;
 +
}
 +
 
 +
 
 +
/* styling for the submenu buttons */
 +
.igem_2017_menu_wrapper .submenu_button {
 +
width: 100%;
 +
padding: 10px 0px 10px 34px;
 +
float:left;
 +
background-color:#f2f2f2;
 +
border-bottom: 1px solid #d3d3d3;
 +
font-size: 12px;
 +
color: #5e5f5f;
 +
cursor: pointer;
 +
}
 +
 
 +
/* wrapper for the submenu items, they are hidden by default*/
 +
.igem_2017_menu_wrapper .submenu_wrapper {
 +
display:none;
 +
}
 +
 
 +
/* when the page size is bigger than 800px, this show/hide control is hidden by default */
 +
.igem_2017_menu_wrapper #display_menu_control {
 +
display:none;
 +
text-align:center;
 +
}
 +
 +
 
 +
/***************************************************** CONTENT OF THE PAGE ****************************************************/
 +
 
 +
/* Wrapper for the content */
 +
.igem_2017_content_wrapper {
 +
width: 81%;
 +
margin: 2%;
 +
display:block;
 +
float:left;
 +
background-color:white;
 +
font-family:Tahoma, Geneva, sans-serif;
 +
}
 +
 
 +
 
 +
/********************************* HTML STYLING  *********************************/
 +
 
 +
/* styling for the titles h1 h2 */
 +
.igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
 +
padding:5px 15px;
 +
border-bottom: 0px;
 +
color: #3399ff;
 +
}
 +
 
 +
 
 +
/* styling for the titles  h3 h4 h5 h6*/
 +
.igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 {
 +
padding:5px 15px;
 +
border-bottom:0px;
 +
color: #000000; 
 +
}
 +
 
 +
 
 +
/* font and text */
 +
.igem_2017_content_wrapper p {
 +
padding: 0px 15px;
 +
font-size: 13px;
 +
}
 +
 
 +
/* Links */
 +
.igem_2017_content_wrapper a {
 +
font-weight: bold;
 +
text-decoration: underline;
 +
text-decoration-color: #3399ff;
 +
color:  #3399ff;
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease;
 +
transition: all 0.4s ease;
 +
}
 +
 
 +
/* hover for the links */
 +
.igem_2017_content_wrapper a:hover {
 +
text-decoration:none;
 +
color:#000000;
 +
}
 +
 
 +
/* non numbered lists */
 +
.igem_2017_content_wrapper ul {
 +
padding:0px 20px;
 +
font-size: 13px;
 +
font-family:Tahoma, Geneva, sans-serif;
 +
}
 +
 
 +
/* numbered lists */
 +
.igem_2017_content_wrapper ol {
 +
padding:0px;
 +
font-size: 13px;
 +
font-family:Tahoma, Geneva, sans-serif;
 +
}
 +
 
 +
/* Table */
 +
.igem_2017_content_wrapper table {
 +
width: 97%;
 +
margin:15px 10px;
 +
border: 1px solid #d3d3d3;
 +
border-collapse: collapse;
 +
}
 +
 
 +
/* table cells */
 +
.igem_2017_content_wrapper  td {
 +
padding: 10px;
 +
vertical-align: text-top;
 +
border: 1px solid #d3d3d3;
 +
border-collapse: collapse;
 +
}
 +
 
 +
/* table headers */
 +
.igem_2017_content_wrapper th {
 +
padding: 10px;
 +
vertical-align: text-top;
 +
border: 1px solid #d3d3d3;
 +
border-collapse: collapse;
 +
background-color:#f2f2f2;
 +
}
 +
 
 +
 
 +
/**********************************LAYOUT CLASSES **********************************/
 +
 
 +
/* general class for column divs */
 +
.igem_2017_content_wrapper .column  {
 +
padding: 10px 0px;
 +
float:left;
 +
}
 +
 
 +
/* class for a full width column */
 +
.column .full_size {
 +
width:100%;
 +
}
 +
 
 +
/* styling for images in a full width column*/
 +
.column.full_size img {
 +
width:97%;
 +
padding: 10px 15px;
 +
}
 +
 
 +
/* class for a half width column */
 +
.column.half_size {
 +
width: 50%;
 +
}
 +
/* styling for images in a half width column*/
 +
.column.half_size img {
 +
width: 94.5%;
 +
padding: 10px 15px;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
/********************************* SUPPORT CLASSES ********************************/
 +
 
 +
/* class that clears content below*/
 +
.igem_2017_content_wrapper .clear {
 +
clear:both;
 +
}
 +
 +
 +
/* adds extra spacing when clearing content */
 +
.igem_2017_content_wrapper  .clear.extra_space {
 +
height: 30px;
 +
}
 +
 
 +
 
 +
/* highlight class, makes content slightly smaller */
 +
.igem_2017_content_wrapper .highlight {
 +
margin: 0px 15px;
 +
padding: 15px 0px;
 +
}
 +
 
 +
 
 +
/* highlight class, adds a gray background */
 +
.igem_2017_content_wrapper .highlight.gray {
 +
background-color: #f2f2f2;
 +
}
 +
 
 +
/* highlight with decoration blue line on top */
 +
.igem_2017_content_wrapper .highlight.blue_top {
 +
    border-top: 4px solid #3399ff;
 +
}
 +
 
 +
/* highlight with a full blue border decoration */
 +
.igem_2017_content_wrapper .highlight.blue_border {
 +
    border: 4px solid  #3399ff;
 +
}
 +
 
 +
 
 +
/* button class */
 +
.igem_2017_content_wrapper .button{
 +
max-width: 35%;
 +
margin: 30px auto;
 +
padding: 12px 10px;
 +
    background-color: #3399ff;
 +
    text-align: center;
 +
  color: #ffffff;
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease; transition: all 0.4s ease; 
 +
}
 +
 
 +
/* styling for button on hover */
 +
.igem_2017_content_wrapper .button:hover{
 +
background-color: #3399ff;
 +
    color: #000000;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
/***************************************************** RESPONSIVE STYLING ****************************************************/
 +
 
 +
/* IF THE SCREEN IS LESS THAN 1200PX */
 +
@media only screen and (max-width: 1200px) {
 +
 
 +
#content {width:100%; }
 +
.igem_2017_menu_wrapper {width:15%; right:0;}
 +
.highlight {padding:10px 0px;}
 +
.igem_2017_menu_wrapper #display_menu_control { display:none; }
 +
#menu_content { display:block;}
 +
.menu_button.direct_to_page {padding-left: 17px;}
 +
 +
}
 +
 
 +
/* IF THE SCREEN IS LESS THAN 800PX */
 +
@media only screen and (max-width: 800px) {
 +
 
 +
.igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;}
 +
.igem_2017_content_wrapper {width:100%; margin-left:0px;}
 +
.column.half_size  {width:100%; }
 +
.column.full_size img, .column.half_size img {  width: 100%; padding: 10px 0px;}
 +
.highlight {padding:15px 5px;}
 +
.igem_2017_menu_wrapper #display_menu_control { display:block; }
 +
#menu_content { display:none;}
 +
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; }
 +
.menu_bottom_padding {display:none;}
 +
.menu_button.direct_to_page { padding-left: 36px; }
 +
}
 +
 
 +
 
 +
 +
 +
/* special class that the system uses to make sure the team wants a page to be evaluated */
 +
.judges-will-not-evaluate {
 +
    width: 96.6%;
 +
  margin: 5px 15px;
 +
  display: block;
 +
border: 4px solid #3399ff;
 +
    font-weight: bold;
 +
}
 +
 +
</style>
 +
 
 +
 
 +
<!--- THIS IS WHERE THE HTML BEGINS --->
 +
 
 +
 
 +
 
 +
<head>
 +
 
 +
<!-- This tells the browser that your page is responsive -->
 +
<meta name="viewport" content="width=device-width, initial-scale=1">  
  
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
 
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
 
        <!--[if lt IE 9]>
 
          <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
 
          <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
 
          <![endif]-->
 
 
</head>
 
</head>
  
    <body>
 
       
 
        <!-- Content -->
 
        <div class="cd-hero">
 
  
            <!-- Navigation -->       
 
            <div class="cd-slider-nav">
 
                <nav class="navbar">
 
                    <div class="tm-navbar-bg">
 
                       
 
                        <a class="navbar-brand text-uppercase" href="#"><i class="fa fa-send-o tm-brand-icon"></i>Motion</a>
 
  
                        <button class="navbar-toggler hidden-lg-up" type="button" data-toggle="collapse" data-target="#tmNavbar">
+
<div class="igem_2017_menu_wrapper" >
                            &#9776;
+
 
                        </button>
+
 
                        <div class="collapse navbar-toggleable-md text-xs-center text-uppercase tm-navbar" id="tmNavbar">
+
 
                            <ul class="nav navbar-nav">
+
<a href="https://2017.igem.org/Team:Peking">
                                <li class="nav-item active selected">
+
<img src="http://placehold.it/350x150">
                                    <a class="nav-link" href="#0" data-no="1">Home <span class="sr-only">(current)</span></a>
+
</a>
                                </li>
+
                                <li class="nav-item">
+
                                    <a class="nav-link" href="#0" data-no="2">About</a>
+
                                </li>
+
                                <li class="nav-item">
+
                                    <a class="nav-link" href="#0" data-no="3">Gallery One</a>
+
                                </li>
+
                                <li class="nav-item">
+
                                    <a class="nav-link" href="#0" data-no="4">Gallery Two</a>
+
                                </li>
+
                                <li class="nav-item">
+
                                    <a class="nav-link" href="#0" data-no="5">Testimonials</a>
+
                                </li>
+
                                <li class="nav-item">
+
                                    <a class="nav-link" href="#0" data-no="6">Contact</a>
+
                                </li>
+
                            </ul>
+
                        </div>                       
+
                    </div>
+
  
                </nav>
 
            </div>
 
  
            <ul class="cd-hero-slider">  <!-- autoplay -->
+
<!-- this div is hidden by default and will only be displayed if the screen size is too small -->
                <li class="selected">
+
<div class="menu_button" id="display_menu_control">
                    <div class="cd-full-width">
+
MENU 
                        <div class="container-fluid js-tm-page-content tm-page-1" data-page-no="1">
+
</div>  
  
                            <div class="cd-bg-video-wrapper" data-video="video/moving-cloud">
+
<div id="menu_content">
                                <!-- video element will be loaded using jQuery -->
+
                            </div> <!-- .cd-bg-video-wrapper -->
+
                           
+
                            <div class="row">
+
                           
+
                                <div class="col-xs-12">
+
                                    <div class="tm-2-col-container tm-bg-white-translucent">
+
  
                                        <div class="row">
 
                                            <div class="col-xs-12">
 
                                                <h2 class="tm-text-title">Cool Video Backgrounds</h2>   
 
                                            </div>                                           
 
                                        </div>
 
  
                                        <div class="row">
 
                                            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 tm-2-col-left">
 
                                                <div class="text-xs-left tm-textbox tm-2-col-textbox">                                           
 
                                                    <p class="tm-text">Motion web template integrates a very active video background for each page. Download and use this for your website and tell your friends about it.</p>
 
                                                    <p class="tm-text">This HTML CSS template is brought to you by <a href="http://plus.google.com/+templatemo" target="_blank">templatemo</a>. You can fully customize it to meet your website needs.</p>
 
                                                </div>
 
                                            </div>
 
                                            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 tm-2-col-right">
 
                                                <div class="text-xs-left tm-textbox tm-2-col-textbox">
 
                                                    <p class="tm-text">Cras tempus, eros vel ultrices aliquam, velit tortor sodales risus, ac facilisis lectus tortor eget neque. Nam auctor dui ante. Curabitur tristique.</p>
 
                                                    <p class="tm-text">Quisque sagittis quam tortor, sit amet posuere justo tempor non. Nunc eu leo sit amet elit condimentum.</p>
 
                                                </div>         
 
                                            </div>
 
                                           
 
                                        </div>
 
  
                                    </div>
+
<a href="https://2017.igem.org/Team:Peking">
                                </div>
+
<div class="menu_button direct_to_page">
 +
HOME
 +
</div>
 +
</a>
  
                            </div>
 
  
                        </div>
 
                    </div> <!-- .cd-full-width -->
 
                </li>
 
  
                <li>
+
<div class="menu_button">
                    <div class="cd-full-width">
+
<div class="expand_collapse_icon">  </div> TEAM
 +
</div>  
  
                        <div class="container-fluid js-tm-page-content" data-page-no="2">
+
<div class="submenu_wrapper" id="team_submenu">
 +
 +
<a href="https://2017.igem.org/Team:Peking/Team">
 +
<div class="submenu_button" id="Team_page">
 +
Team
 +
</div>
 +
</a>
  
                            <div class="cd-bg-video-wrapper" data-video="video/red-flower">
+
<a href="https://2017.igem.org/Team:Peking/Collaborations">
                                <!-- video element will be loaded using jQuery -->
+
<div class="submenu_button" id="Collaborations_page">
                            </div> <!-- .cd-bg-video-wrapper -->
+
Collaborations
                           
+
</div>
                            <div class="row">
+
</a>
                                <div class="col-xs-12">
+
                                    <div class="tm-flex tm-2-col-container-2">
+
                           
+
</div>
                                        <div class="tm-bg-white-translucent text-xs-left tm-textbox tm-2-col-textbox-2 tm-textbox-padding">
+
                                            <h2 class="tm-text-title">Lorem ipsum dolor</h2>
+
                                            <p class="tm-text">Nulla efficitur, ligula et imperdiet volutpat, lacus tortor tempus massa, eget tempus quam nibh vel nulla.</p>
+
                                            <p class="tm-text">Vivamus non molestie leo, non tincidunt diam. Mauris sagittis elit in velit ultricies aliquet sed in magna.</p>
+
                                            <p class="tm-text">Pellentesque semper, est nec consequat viverra, sem augue tincidunt nisi, a posuere nisi sapien sed sapien. Nulla facilisi.</p>
+
                                        </div>
+
  
                                        <div class="tm-bg-white-translucent text-xs-left tm-textbox tm-2-col-textbox-2 tm-textbox-padding">
 
                                            <h2 class="tm-text-title">Aliquam sem sem</h2>
 
                                            <p class="tm-text">Proin sagittis mauris dolor, vel efficitur lectus dictum nec. Sed ultrices placerat arcu, id malesuada metus cursus suscipit. Donex quis consectetur ligula. Proin accumsan eros id nisi porttitor, a facilisis quam cursus.</p>
 
                                            <p class="tm-text">Donec vitae bibendum est, et ultrices urna. Curabitur ac bibendum augue, a convallis mi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Mauris consequat metus hendrerit, tincidunt mi nec, euismod massa.</p>
 
                                        </div>
 
  
                                    </div>
+
                                </div>
+
                            </div>
+
                       
+
                        </div>
+
                                               
+
                    </div> <!-- .cd-full-width -->
+
  
                </li>
+
<div class="menu_button">
                <div class="copyrights">Collect from <a href="http://www.cssmoban.com/" >企业网站模板</a></div>
+
<div class="expand_collapse_icon"> </div> PROJECT
                <!-- Page 3 -->
+
</div>  
                <li>
+
                   
+
                    <div class="cd-full-width">
+
  
                        <div class="container-fluid js-tm-page-content" data-page-no="3">
+
<!-- project submenu -->
                           
+
<div class="submenu_wrapper">
                            <div class="cd-bg-video-wrapper" data-video="video/sunset-cloud">
+
                                <!-- video element will be loaded using jQuery -->
+
<a href="https://2017.igem.org/Team:Peking/Description">
                            </div> <!-- .cd-bg-video-wrapper -->
+
<div class="submenu_button" id="Description_page">
                           
+
Description
                            <div class="tm-img-gallery-container">
+
</div>
 +
</a>
  
                                <div class="tm-img-gallery gallery-one">
+
<a href="https://2017.igem.org/Team:Peking/Design">
                                <!-- Gallery One pop up connected with JS code below -->
+
<div class="submenu_button" id="Design_page">
                                   
+
Design
                                    <div class="tm-img-gallery-info-container">
+
</div>
                                   
+
</a>
                                        <h2 class="tm-text-title tm-gallery-title">Gallery One</h2>
+
                                        <p class="tm-text">Nulla efficitur, ligula et imperdiet volutpat, lacus tortor tempus massa, eget tempus quam
+
                                        nibh vel nulla. Maecenas purus sem, lobortis id odio in, ultrices scelerisque sapien.
+
                                        </p>                                  
+
                                   
+
                                    </div>
+
  
                                    <div class="grid-item">
+
<a href="https://2017.igem.org/Team:Peking/Experiments">
                                        <a href="img/tm-img-01.jpg">                                               
+
<div class="submenu_button" id="Experiments_page">
                                            <img src="img/tm-img-01-tn.jpg" alt="Image" class="img-fluid tm-img">                                             
+
Experiments
                                        </a>
+
</div>
                                    </div>
+
</a>
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-02.jpg">                                               
+
                                            <img src="img/tm-img-02-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-03.jpg">                                               
+
                                            <img src="img/tm-img-03-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-04.jpg">                                              
+
                                            <img src="img/tm-img-04-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-05.jpg">                                               
+
                                            <img src="img/tm-img-05-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-06.jpg">                                               
+
                                            <img src="img/tm-img-06-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>                               
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-07.jpg">                                               
+
                                            <img src="img/tm-img-07-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-08.jpg">                                               
+
                                            <img src="img/tm-img-08-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>                                       
+
                                </div>
+
                               
+
                            </div> <!-- .tm-img-gallery-container -->
+
  
                        </div> <!-- .container-fluid -->
 
                                                   
 
                    </div> <!-- .cd-full-width -->
 
                   
 
                </li>
 
  
                <!-- Page 4 -->
+
<a href="https://2017.igem.org/Team:Peking/Notebook">
                <li>
+
<div class="submenu_button" id="Notebook_page">
                   
+
Notebook
                    <div class="cd-full-width">
+
</div>
 +
</a>
  
                        <div class="container-fluid js-tm-page-content" data-page-no="4">
+
<a href="https://2017.igem.org/Team:Peking/InterLab">
 +
<div class="submenu_button" id="InterLab_page">
 +
InterLab
 +
</div>
 +
</a>
  
                            <div class="cd-bg-video-wrapper" data-video="video/night-light-blur">
+
<a href="https://2017.igem.org/Team:Peking/Contribution">
                                <!-- video element will be loaded using jQuery -->
+
<div class="submenu_button" id="Contribution_page">
                            </div> <!-- .cd-bg-video-wrapper -->
+
Contribution
                           
+
</div>
                            <div class="tm-img-gallery-container">
+
</a>
  
                                <div class="tm-img-gallery gallery-two">
+
<a href="https://2017.igem.org/Team:Peking/Model">
                                <!-- Gallery Two pop up connected with JS code below -->
+
<div class="submenu_button" id="Model_page">
                                   
+
Model
                                    <div class="tm-img-gallery-info-container">
+
</div>
                                   
+
</a>
                                        <h2 class="tm-text-title tm-gallery-title"><span class="tm-white">Gallery Two</span></h2>
+
                                        <p class="tm-text"><span class="tm-white">Nulla efficitur, ligula et imperdiet volutpat, lacus tortor tempus massa, eget tempus quam nibh vel nulla. Maecenas purus sem, lobortis id odio in, ultrices scelerisque sapien.</span>
+
                                        </p>                                  
+
                                   
+
                                    </div>
+
  
                                    <div class="grid-item">
+
<a href="https://2017.igem.org/Team:Peking/Results">
                                        <a href="img/tm-img-09.jpg">                                               
+
<div class="submenu_button" id="Results_page">
                                            <img src="img/tm-img-09-tn.jpg" alt="Image" class="img-fluid tm-img">                                             
+
Results
                                        </a>
+
</div>
                                    </div>
+
</a>
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-10.jpg">                                               
+
                                            <img src="img/tm-img-10-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-11.jpg">                                               
+
                                            <img src="img/tm-img-11-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-12.jpg">                                              
+
                                            <img src="img/tm-img-12-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-13.jpg">                                               
+
                                            <img src="img/tm-img-13-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-14.jpg">                                               
+
                                            <img src="img/tm-img-14-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>                               
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-15.jpg">                                               
+
                                            <img src="img/tm-img-15-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>
+
                                    <div class="grid-item">
+
                                        <a href="img/tm-img-16.jpg">                                               
+
                                            <img src="img/tm-img-16-tn.jpg" alt="Image" class="img-fluid tm-img">                                               
+
                                        </a>
+
                                    </div>                                       
+
                                </div>
+
                               
+
                            </div> <!-- .tm-img-gallery-container -->
+
  
                        </div> <!-- .container-fluid -->
 
                                                   
 
                    </div> <!-- .cd-full-width -->
 
                   
 
                </li>
 
  
                <li>
+
<a href="https://2017.igem.org/Team:Peking/Demonstrate">
 +
<div class="submenu_button"  id="Demonstrate_page">
 +
Demonstrate
 +
</div>
 +
</a>
  
                    <div class="cd-full-width">
+
<a href="https://2017.igem.org/Team:Peking/Improve">
                        <div class="container-fluid js-tm-page-content" data-page-no="5">
+
<div class="submenu_button" id="Improve_page">
                       
+
Improve
                            <div class="cd-bg-video-wrapper" data-video="video/padaut-bee">
+
</div>
                                <!-- video element will be loaded using jQuery -->
+
</a>
                            </div> <!-- .cd-bg-video-wrapper -->
+
  
                            <div class="row">
+
<a href="https://2017.igem.org/Team:Peking/Attributions">
                               
+
<div class="submenu_button" id="Attributions_page">
                                <div class="col-xs-12">
+
Attributions
                                    <div class="tm-flex tm-3-col-container">
+
</div>
                                       
+
</a>
                                            <div class="tm-3-col-textbox tm-bg-white-translucent">
+
                                                <div class="text-xs-left tm-textbox tm-textbox-padding">
+
  
                                                    <h2 class="tm-text-title">Testimonial One</h2>                                         
+
</div>
                                                    <p class="tm-text">Etiam vitae imperdiet magna. Vestibulum blandit vehicula metus, ac ornare eros elementum et. Pellentesque habitant morbi tristique senectus et ntus et malesuada fames ac turpis egestas.</p>
+
  
                                                    <p class="tm-text">Mauris lobortis lorem nulla, non tristique enim sollicitudin eu. Praesent tempus dapibus odio nec elementum.</p>
+
 +
 +
 +
  
                                                </div>
+
<div class="menu_button">
                                            </div>
+
<div class="expand_collapse_icon">  </div> PARTS
 +
</div>
 +
 +
<!-- parts submenu -->
 +
<div class="submenu_wrapper">
 +
 +
<a href="https://2017.igem.org/Team:Peking/Parts">
 +
<div class="submenu_button"  id="Parts_page">
 +
Parts
 +
</div>
 +
</a>
  
                                            <div class="tm-3-col-textbox tm-bg-white-translucent">
+
<a href="https://2017.igem.org/Team:Peking/Basic_Part">
                                                <div class="text-xs-left tm-textbox tm-textbox-padding">
+
<div class="submenu_button" id="Basic_Part_page">
 +
Basic Parts
 +
</div>
 +
</a>
  
                                                    <h2 class="tm-text-title">Testimonial Two</h2>
+
<a href="https://2017.igem.org/Team:Peking/Composite_Part">
 +
<div class="submenu_button" id="Composite_Part_page">
 +
Composite Parts
 +
</div>
 +
</a>
  
                                                    <p class="tm-text">Curabitur sodales, est auctor congue vulputate, nisl tellus finibus nunc, vitae consectetur enim erat vitae quam.</p>
+
<a href="https://2017.igem.org/Team:Peking/Part_Collection">
 +
<div class="submenu_button"  id="Part_Collection_page">
 +
Part Collection
 +
</div>
 +
</a>
 +
</div>  
  
                                                    <p class="tm-text">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nunc vitae tempor turpis.</p>
+
                                                </div>         
+
                                            </div>
+
 +
  
                                            <div class="tm-3-col-textbox tm-bg-white-translucent">
+
<a href="https://2017.igem.org/Team:Peking/Safety">
                                                <div class="text-xs-left tm-textbox tm-textbox-padding">
+
<div class="menu_button direct_to_page">
 +
SAFETY
 +
</div>
 +
</a>
  
                                                    <h2 class="tm-text-title">Testimonial Three</h2>
 
  
                                                    <p class="tm-text">Mauris lobortis lorem nulla, non tristique enim sollicitudin eu. Praesent tempus dapibus odio nec elementum.</p>
 
  
                                                    <p class="tm-text">Sed elementum est quis tortor faucibus, et molestie nibh finibus. Mauris condimentum ex vestibulum fringilla consectetur.</p>
 
                                                </div>         
 
                                            </div>
 
                                       
 
                                    </div>
 
                                </div>
 
  
                            </div>
 
  
                        </div>       
 
                    </div>                                     
 
  
                </li>
 
  
                <li>
+
<div class="menu_button" >
                    <div class="cd-full-width">
+
<div class="expand_collapse_icon">  </div> HUMAN PRACTICES
 +
</div>  
  
                        <div class="container-fluid js-tm-page-content" data-page-no="6">
+
<!-- human practices submenu -->
 +
<div class="submenu_wrapper">
  
                        <div class="cd-bg-video-wrapper" data-video="video/sunset-loop">
+
<a href="https://2017.igem.org/Team:Peking/HP/Silver">
                            <!-- video element will be loaded using jQuery -->
+
<div class="submenu_button"  id="Silver_page">
                        </div> <!-- .cd-bg-video-wrapper -->
+
Silver HP
                           
+
</div>
                            <div class="tm-contact-page">
+
</a>
                               
+
                                <div class="row">
+
  
                                    <div class="col-xs-12">
+
<a href="https://2017.igem.org/Team:Peking/HP/Gold_Integrated">
 +
<div class="submenu_button" id="Gold_Integrated_page">
 +
Integrated and Gold
 +
</div>
 +
</a>
  
                                        <div class="tm-flex tm-contact-container">
 
                               
 
                                            <div class="tm-bg-white-translucent text-xs-left tm-textbox tm-2-col-textbox-2 tm-textbox-padding tm-textbox-padding-contact">
 
                                                <p class="tm-text">Praesent tempus dapibus odio nec elementum. Sed elementum est quis tortor faucibus, et molestie nibh finibus. Mauris condimentum ex vestibulum fringilla consectetur.</p>                                               
 
                                               
 
                                                <!-- contact form -->
 
                                                <form action="index.html" method="post" class="tm-contact-form">
 
  
                                                    <div class="form-group col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 tm-form-group-left">
+
<a href="https://2017.igem.org/Team:Peking/Engagement">
                                                        <input type="text" id="contact_name" name="contact_name" class="form-control" placeholder="Name"  required/>
+
<div class="submenu_button" id="Engagement_page">
                                                    </div>
+
Public Engagement
                                       
+
</div>
                                                    <div class="form-group col-xs-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 tm-form-group-right">                                                       
+
</a>
                                                        <input type="email" id="contact_email" name="contact_email" class="form-control" placeholder="Email"  required/>
+
                                                    </div>
+
                                                                                                           
+
                                                    <div class="form-group">
+
                                                        <input type="text" id="contact_subject" name="contact_subject" class="form-control" placeholder="Subject"  required/>
+
                                                    </div>
+
                                                   
+
                                                    <div class="form-group">
+
                                                        <textarea id="contact_message" name="contact_message" class="form-control" rows="5" placeholder="Your message" required></textarea>
+
                                                    </div>  
+
  
                                                    <button type="submit" class="pull-xs-right tm-submit-btn">Send</button> 
+
</div>
                                               
+
                                                </form> 
+
                                            </div>
+
  
                                            <div class="tm-bg-white-translucent text-xs-left tm-textbox tm-2-col-textbox-2 tm-textbox-padding tm-textbox-padding-contact">
 
                                                <h2 class="tm-contact-info">123 New Street 11000, San Francisco, CA</h2>
 
                                                <!-- google map goes here -->
 
                                                <div id="">map</div>
 
                                            </div>
 
  
                                        </div>
+
<div class="menu_button">
 +
<div class="expand_collapse_icon">  </div> AWARDS
 +
</div>  
  
                                    </div>
+
<!-- awards submenu -->
 +
<div class="submenu_wrapper">
  
                                </div>
+
<a href="https://2017.igem.org/Team:Peking/Applied_Design">
 +
<div class="submenu_button"  id="Applied_Design_page">
 +
Applied Design
 +
</div>
 +
</a>
  
                            </div>  
+
<a href="https://2017.igem.org/Team:Peking/Entrepreneurship">
 +
<div class="submenu_button"  id="Entrepreneurship_page">
 +
Entrepreneurship
 +
</div>
 +
</a>
  
                        </div>
+
<a href="https://2017.igem.org/Team:Peking/Hardware">
                       
+
<div class="submenu_button" id="Hardware_page">
                    </div> <!-- .cd-full-width -->
+
Hardware
                </li>
+
</div>
            </ul> <!-- .cd-hero-slider -->
+
</a>
           
+
            <footer class="tm-footer">
+
           
+
                <div class="tm-social-icons-container text-xs-center">
+
                    <a href="#" class="tm-social-link"><i class="fa fa-facebook"></i></a>
+
                    <a href="#" class="tm-social-link"><i class="fa fa-google-plus"></i></a>
+
                    <a href="#" class="tm-social-link"><i class="fa fa-twitter"></i></a>
+
                    <a href="#" class="tm-social-link"><i class="fa fa-behance"></i></a>
+
                    <a href="#" class="tm-social-link"><i class="fa fa-linkedin"></i></a>
+
                </div>
+
               
+
                <p class="tm-copyright-text">Copyright &copy; 2016 Your Company
+
               
+
                - More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a></p>
+
  
            </footer>
+
<a href="https://2017.igem.org/Team:Peking/Measurement">
                   
+
<div class="submenu_button"  id="Measurement_page">
        </div> <!-- .cd-hero -->
+
Measurement
       
+
</div>
 +
</a>
  
        <!-- Preloader, https://ihatetomatoes.net/create-custom-preloading-screen/ -->
+
<a href="https://2017.igem.org/Team:Peking/Model">
        <div id="loader-wrapper">
+
<div class="submenu_button" id="Model_page">
           
+
Model
            <div id="loader"></div>
+
</div>
            <div class="loader-section section-left"></div>
+
</a>
            <div class="loader-section section-right"></div>
+
  
        </div>
+
<a href="https://2017.igem.org/Team:Peking/Plant">
       
+
<div class="submenu_button" id="Plant_page">
        <!-- load JS files -->
+
Plant
        <script src="js/jquery-1.11.3.min.js"></script>        <!-- jQuery (https://jquery.com/download/) -->
+
</div>
        <script src="js/tether.min.js"></script> <!-- Tether for Bootstrap (http://stackoverflow.com/questions/34567939/how-to-fix-the-error-error-bootstrap-tooltips-require-tether-http-github-h) -->  
+
</a>
        <script src="js/bootstrap.min.js"></script>            <!-- Bootstrap js (v4-alpha.getbootstrap.com/) -->
+
        <script src="js/hero-slider-main.js"></script>          <!-- Hero slider (https://codyhouse.co/gem/hero-slider/) -->
+
        <script src="js/masonry.pkgd.min.js"></script>          <!-- Masonry (http://masonry.desandro.com/) -->
+
        <script src="js/jquery.magnific-popup.min.js"></script> <!-- Magnific popup (http://dimsemenov.com/plugins/magnific-popup/) -->
+
       
+
        <script>
+
  
            function adjustHeightOfPage(pageNo) {
 
  
                var offset = 80;
+
<a href="https://2017.igem.org/Team:Peking/Software">
                var pageContentHeight = $(".cd-hero-slider li:nth-of-type(" + pageNo + ") .js-tm-page-content").height();
+
<div class="submenu_button" id="Software_page">
 +
Software
 +
</div>
 +
</a>
  
                if($(window).width() >= 992) { offset = 120; }
+
</div>
                else if($(window).width() < 480) { offset = 40; }
+
             
+
                // Get the page height
+
                var totalPageHeight = 15 + $('.cd-slider-nav').height()
+
                                        + pageContentHeight + offset
+
                                        + $('.tm-footer').height();
+
  
                // Adjust layout based on page height and window height
+
<a href="https://igem.org/2017_Judging_Form?team=Peking">
                if(totalPageHeight > $(window).height())
+
<div class="menu_button direct_to_page">
                {
+
JUDGING FORM
                    $('.cd-hero-slider').addClass('small-screen');
+
</div>
                    $('.cd-hero-slider li:nth-of-type(' + pageNo + ')').css("min-height", totalPageHeight + "px");
+
</a>
                }
+
                else
+
                {
+
                    $('.cd-hero-slider').removeClass('small-screen');
+
                    $('.cd-hero-slider li:nth-of-type(' + pageNo + ')').css("min-height", "100%");
+
                }
+
            }
+
  
            /*
 
                Everything is loaded including images.
 
            */
 
            $(window).load(function(){
 
  
                adjustHeightOfPage(1); // Adjust page height
+
 +
<div class="menu_bottom_padding" >
 +
</div>
 +
 +
</div>
  
                /* Gallery One pop up
 
                -----------------------------------------*/
 
                $('.gallery-one').magnificPopup({
 
                    delegate: 'a', // child items selector, by clicking on it popup will open
 
                    type: 'image',
 
                    gallery:{enabled:true}               
 
                });
 
 
/* Gallery Two pop up
 
                -----------------------------------------*/
 
$('.gallery-two').magnificPopup({
 
                    delegate: 'a',
 
                    type: 'image',
 
                    gallery:{enabled:true}               
 
                });
 
  
                /* Collapse menu after click
 
                -----------------------------------------*/
 
                $('#tmNavbar a').click(function(){
 
                    $('#tmNavbar').collapse('hide');
 
  
                    adjustHeightOfPage($(this).data("no")); // Adjust page height     
 
                });
 
  
                /* Browser resized
+
</div>
                -----------------------------------------*/
+
                $( window ).resize(function() {
+
                    var currentPageNo = $(".cd-hero-slider li.selected .js-tm-page-content").data("page-no");
+
                   
+
                    // wait 3 seconds
+
                    setTimeout(function() {
+
                        adjustHeightOfPage( currentPageNo );
+
                    }, 1000);
+
                   
+
                });
+
       
+
                // Remove preloader (https://ihatetomatoes.net/create-custom-preloading-screen/)
+
                $('body').addClass('loaded');
+
                         
+
            });
+
  
         
 
       
 
         
 
  
        </script>           
 
  
</body>
+
<!-- start of content -->
</html>
+
<div class="igem_2017_content_wrapper">
 +
<h1>Peking</h1>

Latest revision as of 13:13, 29 June 2017

Peking