Difference between revisions of "Team:NTHU Formosa"

(Undo revision 15046 by Tommyrpg1010 (talk))
 
(230 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{NTHU_Formosa}}
+
{{NTHU_Formosa}} {{NTHU_Formosa/NavBar}}
 
<html>
 
<html>
  
 +
<head>
 +
  <meta charset="UTF-8">
 +
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 +
  <link rel="stylesheet" type="text/css" href="https://2018.igem.org/wiki/index.php?title=Template:NTHU_Formosa/CSS&action=raw&ctype=text/css">
  
  
 +
  <style>
 +
    /*!
 +
  * fullPage 3.0.2
 +
  * https://github.com/alvarotrigo/fullPage.js
 +
  *
 +
  * @license GPLv3 for open source use only
 +
  * or Fullpage Commercial License for commercial use
 +
  * http://alvarotrigo.com/fullPage/pricing/
 +
  *
 +
  * Copyright (C) 2018 http://alvarotrigo.com/fullPage - A project by Alvaro Trigo
 +
  */
  
<div class="column full_size" >
+
    html.fp-enabled,
<h1> Welcome to iGEM 2018! </h1>
+
    .fp-enabled body {
<p>Your team has been approved and you are ready to start the iGEM season! </p>
+
      margin: 0;
 +
      padding: 0;
 +
      overflow: hidden;
  
 +
      /*Avoid flicker on slides transitions for mobile phones #336 */
 +
      -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
 +
    }
  
<img src="http://placehold.it/1080x320/c4baba/e4dede">
+
    .fp-section {
+
      position: relative;
 +
      -webkit-box-sizing: border-box;
 +
      /* Safari<=5 Android<=3 */
 +
      -moz-box-sizing: border-box;
 +
      /* <=28 */
 +
      box-sizing: border-box;
 +
    }
  
</div>
+
    .fp-slide {
 +
      float: left;
 +
    }
  
 +
    .fp-slide,
 +
    .fp-slidesContainer {
 +
      height: 100%;
 +
      display: block;
 +
    }
  
<div class="column full_size" >
+
    .fp-slides {
 +
      z-index: 1;
 +
      height: 100%;
 +
      overflow: hidden;
 +
      position: relative;
 +
      -webkit-transition: all 0.3s ease-out;
 +
      /* Safari<=6 Android<=4.3 */
 +
      transition: all 0.3s ease-out;
 +
    }
  
<h3>Before you start</h3>
+
    .fp-section.fp-table,
<p> Please read the following pages:</p>
+
    .fp-slide.fp-table {
<ul>
+
      display: table;
<li>  <a href="https://2018.igem.org/Competition">Competition Hub</a> </li>
+
      table-layout: fixed;
<li> <a href="https://2018.igem.org/Competition/Deliverables/Wiki">Wiki Requirements page</a></li>
+
      width: 100%;
<li> <a href="https://2018.igem.org/Resources/Template_Documentation">Template documentation</a></li>
+
    }
</ul>
+
</div>
+
  
 +
    .fp-tableCell {
 +
      display: table-cell;
 +
      vertical-align: middle;
 +
      width: 100%;
 +
      height: 100%;
 +
    }
  
<div class="clear extra_space"></div>
+
    .fp-slidesContainer {
<div class="line_divider"></div>
+
      float: left;
<div class="clear extra_space"></div>
+
      position: relative;
 +
    }
  
 +
    .fp-controlArrow {
 +
      -webkit-user-select: none;
 +
      /* webkit (safari, chrome) browsers */
 +
      -moz-user-select: none;
 +
      /* mozilla browsers */
 +
      -khtml-user-select: none;
 +
      /* webkit (konqueror) browsers */
 +
      -ms-user-select: none;
 +
      /* IE10+ */
 +
      position: absolute;
 +
      z-index: 4;
 +
      top: 50%;
 +
      cursor: pointer;
 +
      width: 0;
 +
      height: 0;
 +
      border-style: solid;
 +
      margin-top: -38px;
 +
      -webkit-transform: translate3d(0, 0, 0);
 +
      -ms-transform: translate3d(0, 0, 0);
 +
      transform: translate3d(0, 0, 0);
 +
    }
  
 +
    .fp-controlArrow.fp-prev {
 +
      left: 15px;
 +
      width: 0;
 +
      border-width: 38.5px 34px 38.5px 0;
 +
      border-color: transparent #fff transparent transparent;
 +
    }
  
<div class="column full_size" >
+
    .fp-controlArrow.fp-next {
<h3> Styling your wiki </h3>
+
      right: 15px;
<p>You may style this page as you like or you can simply leave the style as it is. You can easily keep the styling and edit the content of these default wiki pages with your project information and completely fulfill the requirement to document your project.</p>
+
      border-width: 38.5px 0 38.5px 34px;
<p>While you may not win Best Wiki with this styling, your team is still eligible for all other awards. This default wiki meets the requirements, it improves navigability and ease of use for visitors, and you should not feel it is necessary to style beyond what has been provided.</p>
+
      border-color: transparent transparent transparent #fff;
 +
    }
  
</div>
+
    .fp-scrollable {
 +
      overflow: hidden;
 +
      position: relative;
 +
    }
  
 +
    .fp-scroller {
 +
      overflow: hidden;
 +
    }
  
 +
    .iScrollIndicator {
 +
      border: 0 !important;
 +
    }
  
 +
    .fp-notransition {
 +
      -webkit-transition: none !important;
 +
      transition: none !important;
 +
    }
  
<div class="clear extra_space"></div>
+
    #fp-nav {
 +
      position: fixed;
 +
      z-index: 100;
 +
      margin-top: -32px;
 +
      top: 50%;
 +
      opacity: 1;
 +
      -webkit-transform: translate3d(0, 0, 0);
 +
    }
  
 +
    #fp-nav.fp-right {
 +
      right: 17px;
 +
    }
  
 +
    #fp-nav.fp-left {
 +
      left: 17px;
 +
    }
  
<div class="column third_size" >
+
    .fp-slidesNav {
 +
      position: absolute;
 +
      z-index: 4;
 +
      opacity: 1;
 +
      -webkit-transform: translate3d(0, 0, 0);
 +
      -ms-transform: translate3d(0, 0, 0);
 +
      transform: translate3d(0, 0, 0);
 +
      left: 0 !important;
 +
      right: 0;
 +
      margin: 0 auto !important;
 +
    }
  
<h3> Uploading pictures and files </h3>
+
    .fp-slidesNav.fp-bottom {
<p> You must upload any pictures and files to the iGEM 2018 server. Remember to keep all your pictures and files within your team's namespace or at least include your team's name in the file name. </p>
+
      bottom: 17px;
 +
    }
  
 +
    .fp-slidesNav.fp-top {
 +
      top: 17px;
 +
    }
  
<p>When you upload, set the "Destination Filename" to <b> T--YourOfficialTeamName--NameOfFile.jpg</b>. (If you don't do this, someone else might upload a different file with the same "Destination Filename", and your file would be erased!)</p>
+
    #fp-nav ul,
 +
    .fp-slidesNav ul {
 +
      margin: 0;
 +
      padding: 0;
 +
    }
  
<div class="button_link">
+
    #fp-nav ul li,
<a href="https://2018.igem.org/Special:Upload">
+
    .fp-slidesNav ul li {
UPLOAD FILES
+
      display: block;
</a>
+
      width: 14px;
</div>
+
      height: 13px;
 +
      margin: 7px;
 +
      position: relative;
 +
    }
  
</div>
+
    .fp-slidesNav ul li {
 +
      display: inline-block;
 +
    }
  
<div class="column third_size" >
+
    #fp-nav ul li a,
<h3> Wiki template information </h3>
+
    .fp-slidesNav ul li a {
<p>We have created these wiki template pages to help you get started and to help you think about how your team will be evaluated. You can find a list of all the pages tied to awards here at the <a href="https://2018.igem.org/Judging/Pages_for_Awards">Pages for awards</a> link. You must edit these pages to be evaluated for medals and awards, but ultimately the design, layout, style and all other elements of your team wiki is up to you!</p>
+
      display: block;
 +
      position: relative;
 +
      z-index: 1;
 +
      width: 100%;
 +
      height: 100%;
 +
      cursor: pointer;
 +
      text-decoration: none;
 +
    }
  
</div>
+
    #fp-nav ul li a.active span,
 +
    .fp-slidesNav ul li a.active span,
 +
    #fp-nav ul li:hover a.active span,
 +
    .fp-slidesNav ul li:hover a.active span {
 +
      height: 12px;
 +
      width: 12px;
 +
      margin: -6px 0 0 -6px;
 +
      border-radius: 100%;
 +
    }
  
 +
    #fp-nav ul li a span,
 +
    .fp-slidesNav ul li a span {
 +
      border-radius: 50%;
 +
      position: absolute;
 +
      z-index: 1;
 +
      height: 4px;
 +
      width: 4px;
 +
      border: 0;
 +
      background: #333;
 +
      left: 50%;
 +
      top: 50%;
 +
      margin: -2px 0 0 -2px;
 +
      -webkit-transition: all 0.1s ease-in-out;
 +
      -moz-transition: all 0.1s ease-in-out;
 +
      -o-transition: all 0.1s ease-in-out;
 +
      transition: all 0.1s ease-in-out;
 +
    }
  
 +
    #fp-nav ul li:hover a span,
 +
    .fp-slidesNav ul li:hover a span {
 +
      width: 10px;
 +
      height: 10px;
 +
      margin: -5px 0px 0px -5px;
 +
    }
  
<div class="column third_size" >
+
    #fp-nav ul li .fp-tooltip {
<div class="highlight decoration_B_full">
+
      position: absolute;
<h3> Editing your wiki </h3>
+
      top: -2px;
<p>On this page you can document your project, introduce your team members, document your progress and share your iGEM experience with the rest of the world! </p>
+
      color: #fff;
<p>Use WikiTools - Edit in the black menu bar to edit this page</p>
+
      font-size: 14px;
 +
      font-family: arial, helvetica, sans-serif;
 +
      white-space: nowrap;
 +
      max-width: 220px;
 +
      overflow: hidden;
 +
      display: block;
 +
      opacity: 0;
 +
      width: 0;
 +
      cursor: pointer;
 +
    }
  
<div class="button_link">
+
    #fp-nav ul li:hover .fp-tooltip,
<a href="https://2018.igem.org/wiki/index.php?title=Team:NTHU_Formosa&action=edit">
+
    #fp-nav.fp-show-active a.active+.fp-tooltip {
EDIT PAGE
+
      -webkit-transition: opacity 0.2s ease-in;
</a>
+
      transition: opacity 0.2s ease-in;
</div>
+
      width: auto;
 +
      opacity: 1;
 +
    }
  
 +
    #fp-nav ul li .fp-tooltip.fp-right {
 +
      right: 20px;
 +
    }
  
</div>
+
    #fp-nav ul li .fp-tooltip.fp-left {
</div>
+
      left: 20px;
 +
    }
  
 +
    .fp-auto-height.fp-section,
 +
    .fp-auto-height .fp-slide,
 +
    .fp-auto-height .fp-tableCell {
 +
      height: auto !important;
 +
    }
  
 +
    .fp-responsive .fp-auto-height-responsive.fp-section,
 +
    .fp-responsive .fp-auto-height-responsive .fp-slide,
 +
    .fp-responsive .fp-auto-height-responsive .fp-tableCell {
 +
      height: auto !important;
 +
    }
  
 +
    /* Fixed header and footer.
 +
    * --------------------------------------- */
  
 +
    #header {
 +
      position: fixed;
 +
      height: 50px;
 +
      display: block;
 +
      width: 100%;
 +
      background: #333;
 +
      z-index: 9;
 +
      text-align: center;
 +
      color: #f2f2f2;
 +
      padding: 20px 0 0 0;
 +
    }
  
<div class="clear extra_space"></div>
+
    #header {
<div class="line_divider"></div>
+
      top: 0px;
<div class="clear extra_space"></div>
+
    }
  
 +
    /* Style for our header texts
 +
* --------------------------------------- */
  
 +
    h1 {
 +
      font-size: 5em;
 +
      font-family: arial, helvetica;
 +
      color: #fff;
 +
      margin: 0;
 +
      padding: 0;
 +
    }
  
<div class="column two_thirds_size" >
+
    .intro p {
<h3>Tips</h3>
+
      color: #fff;
<p>This wiki will be your team’s first interaction with the rest of the world, so here are a few tips to help you get started: </p>
+
    }
<ul>
+
<li>State your accomplishments! Tell people what you have achieved from the start. </li>
+
<li>Be clear about what you are doing and how you plan to do this.</li>
+
<li>You have a global audience! Consider the different backgrounds that your users come from.</li>
+
<li>Make sure information is easy to find; nothing should be more than 3 clicks away.  </li>
+
<li>Avoid using very small fonts and low contrast colors; information should be easy to read.  </li>
+
<li>Start documenting your project as early as possible; don’t leave anything to the last minute before the Wiki Freeze. For a complete list of deadlines visit the <a href="https://2018.igem.org/Calendar">iGEM 2018 calendar</a> </li>
+
<li>Have lots of fun! </li>
+
</ul>
+
</div>
+
  
 +
    /* Centered texts in each section
 +
* --------------------------------------- */
  
<div class="column third_size">
+
    .section {
<div class="highlight decoration_A_full">
+
      text-align: center;
<h3>Inspiration</h3>
+
      font-family: arial, helvetica;
<p> You can also view other team wikis for inspiration! Here are some examples:</p>
+
      /* padding-left: 50px; */
<ul>
+
    }
<li> <a href="https://2014.igem.org/Team:SDU-Denmark/"> 2014 SDU Denmark </a> </li>
+
<li> <a href="https://2014.igem.org/Team:Aalto-Helsinki">2014 Aalto-Helsinki</a> </li>
+
<li> <a href="https://2014.igem.org/Team:LMU-Munich">2014 LMU-Munich</a> </li>
+
<li> <a href="https://2014.igem.org/Team:Michigan"> 2014 Michigan</a></li>
+
<li> <a href="https://2014.igem.org/Team:ITESM-Guadalajara">2014 ITESM-Guadalajara </a></li>
+
<li> <a href="https://2014.igem.org/Team:SCU-China"> 2014 SCU-China </a></li>
+
</ul>
+
</div>
+
</div>
+
  
 +
    /* Backgrounds will cover all the section
 +
* --------------------------------------- */
  
 +
    #section0,
 +
    #section1,
 +
    #section2,
 +
    #section3,
 +
    #section4,
 +
    #section5,
 +
      {
 +
      background-size: cover;
 +
      background-attachment: fixed;
 +
    }
  
 +
    /* Defining each section background and styles
 +
* --------------------------------------- */
 +
 +
    #section0 {
 +
      color: white;
 +
      background-color: white;
 +
      background-image: url(https://static.igem.org/mediawiki/2018/6/66/T--NTHU_Formosa--cell0.png);
 +
      background-repeat: no-repeat;
 +
      background-position: center;
 +
      background-size: 70% 70%;
 +
    }
 +
 +
    #section1 {
 +
      background-image: url(https://static.igem.org/mediawiki/2018/2/2e/T--NTHU_Formosa--home_project2.png);
 +
      background-size: contain;
 +
    }
 +
 +
    #section2 {
 +
      background-image: url(https://static.igem.org/mediawiki/2018/0/0b/T--NTHU_Formosa--home_experiment2.png);
 +
      background-size: cover;
 +
    }
 +
 +
    #section3 {
 +
      background-image: url(https://static.igem.org/mediawiki/2018/3/34/T--NTHU_Formosa--home_modeling2.png);
 +
      background-size: cover;
 +
    }
 +
 +
    #section4 {
 +
      background-image: url(https://static.igem.org/mediawiki/2018/4/4f/T--NTHU_Formosa--HP.png);
 +
      background-size: cover;
 +
    }
 +
 +
    #section5 {
 +
      background-image: url(https://static.igem.org/mediawiki/2018/8/84/T--NTHU_Formosa--%E6%9C%AA%E5%91%BD%E5%90%8D-3.png);
 +
      background-size: cover;
 +
    }
 +
 +
    /* Button Styling
 +
* --------------------------------------- */
 +
 +
    .btn-group {
 +
      /* position: static;
 +
      height: 100%;
 +
      width: 100%; */
 +
    }
 +
 +
    .button_home {
 +
 +
      float: center;
 +
      /* Green */
 +
      background-color: #4CAF50;
 +
      border: none;
 +
      color: white;
 +
      padding: 16px 32px;
 +
      text-align: center;
 +
      text-decoration: none;
 +
      display: block;
 +
      font-size: 16px;
 +
      margin: 4px 2px;
 +
      -webkit-transition-duration: 0.4s;
 +
      /* Safari */
 +
      transition-duration: 0.4s;
 +
      cursor: pointer;
 +
    }
 +
 +
    .btn-group .button1 {
 +
      background-color: white;
 +
      color: black;
 +
      border: 2px solid #4CAF50;
 +
    }
 +
 +
    .btn-group .button1:hover {
 +
      background-color: #4CAF50;
 +
      color: white;
 +
    }
 +
 +
    /* Side Bar
 +
  * --------------------------------------- */
 +
 +
    @import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600");
 +
    * {
 +
      transition: 0.33s ease;
 +
    }
 +
 +
    .rela-block {
 +
      display: block;
 +
      position: relative;
 +
      overflow: hidden;
 +
    }
 +
 +
    .side-bar {
 +
      z-index: 100;
 +
      position: fixed;
 +
      /* Initial Width */
 +
      width: 100px;
 +
      top: 0;
 +
      bottom: 0;
 +
      left: 0;
 +
      background-color: #fff;
 +
      box-shadow: 4px 0px 25px -1px rgba(0, 0, 0, 0.5);
 +
      font-family: "Arial";
 +
      font-weight: 600;
 +
      font-size: 18px;
 +
      line-height: 24px;
 +
      letter-spacing: 2px;
 +
      text-transform: uppercase;
 +
      transition: 0.33s ease;
 +
    }
 +
 +
    .side-bar:hover {
 +
      /* Width on hover */
 +
      width: 350px;
 +
    }
 +
 +
    .side-bar:hover .side-button::before {
 +
      left: 6%;
 +
      transition: 0.33s ease, left 0.25s 0.15s ease;
 +
    }
 +
 +
    .side-bar:hover .hover-svg {
 +
      height: 130px;
 +
      width: 130px;
 +
    }
 +
 +
    .side-container {
 +
      position: absolute;
 +
      width: 100%;
 +
    }
 +
 +
    .side-container.top {
 +
      height: 20%;
 +
      top: 1%;
 +
    }
 +
 +
    .side-container.middle {
 +
      padding-top: 10px;
 +
      height: 65%;
 +
      top: 55%;
 +
      -webkit-transform: translateY(-50%);
 +
      transform: translateY(-50%);
 +
    }
 +
 +
    .hover-svg {
 +
      position: absolute;
 +
      top: 50%;
 +
      left: 50%;
 +
      -webkit-transform: translate(-50%, -50%);
 +
      transform: translate(-50%, -50%);
 +
      height: 80px;
 +
      width: 80px;
 +
      fill: none;
 +
      stroke: rgba(0, 0, 0, 0.5);
 +
      stroke-width: 2;
 +
      cursor: pointer;
 +
      transition: 0s ease, height 0.33s ease, width 0.33s ease;
 +
    }
 +
 +
    .hover-svg:hover {
 +
      stroke: #000;
 +
    }
 +
 +
    .side-button {
 +
      height: 15%;
 +
      margin: 5px 0;
 +
      background-color: #e4e9e9;
 +
      cursor: pointer;
 +
    }
 +
 +
    .side-button:hover {
 +
      background-color: #c4c9c9;
 +
    }
 +
 +
    .side-button::before {
 +
      position: absolute;
 +
      top: 50%;
 +
      left: -250px;
 +
      -webkit-transform: translateY(-50%);
 +
      transform: translateY(-50%);
 +
      transition: 0.33s ease;
 +
    }
 +
 +
    .side-button::after {
 +
      content: "";
 +
      position: absolute;
 +
      height: 40px;
 +
      width: 40px;
 +
      top: 50%;
 +
      right: 20px;
 +
      -webkit-transform: translateY(-50%);
 +
      transform: translateY(-50%);
 +
      background-size: cover !important;
 +
      transition: 0.33s ease;
 +
    }
 +
 +
    .side-button.facebook::before {
 +
      content: "Facebook";
 +
    }
 +
 +
    .side-button.facebook:after {
 +
      background: url("https://cdn3.iconfinder.com/data/icons/social-media-2026/60/Socialmedia_icons_Facebook-128.png") no-repeat center; margin-left:auto;margin-right:auto;width:10%;"
 +
    }
 +
 +
   
 +
   
 +
        .side-button.Biomarker::before {
 +
      content: "Biomarker";
 +
    }
 +
 +
    .side-button.Biomarker:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/8/86/T--NTHU_Formosa--icon_biomar.png") no-repeat center;
 +
    }
 +
            .side-button.Nanobody::before {
 +
      content: "Nanobody";
 +
    }
 +
 +
    .side-button.Nanobody:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/0/0e/T--NTHU_Formosa--icon_nanobody.png") no-repeat center;
 +
    }
 +
            .side-button.TEV::before {
 +
      content: "TEV protease";
 +
    }
 +
 +
    .side-button.TEV:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/6/6f/T--NTHU_Formosa--icon_TEV.png") no-repeat center;
 +
    }
 +
            .side-button.Bioluminescence::before {
 +
      content: "Bioluminescence";
 +
    }
 +
 +
    .side-button.Bioluminescence:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/e/e5/T--NTHU_Formosa--icon_biolu.png") no-repeat center;
 +
    }
 +
 +
   
 +
   
 +
   
 +
   
 +
   
 +
   
 +
 +
    .side-button.Introduction::before {
 +
      content: "Introduction";
 +
    }
 +
 +
    .side-button.Introduction:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/f/f4/T--NTHU_Formosa--icon_introduction.png") no-repeat center;
 +
    }
 +
 +
    .side-button.Design::before {
 +
      content: "Design";
 +
    }
 +
 +
    .side-button.Design:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/e/e8/T--NTHU_Formosa--icon_design.png") no-repeat center;
 +
    }
 +
 +
    .side-button.Biosafety::before {
 +
      content: "Biosafety";
 +
    }
 +
 +
    .side-button.Biosafety:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/e/e0/T--NTHU_Formosa--icon_biosafety.png") no-repeat center;
 +
    }
 +
 +
    .side-button.Applied_Design::before {
 +
      content: "Applied Design";
 +
    }
 +
 +
    .side-button.Applied_Design:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/8/85/T--NTHU_Formosa--icon_applied_design.png") no-repeat center;
 +
    }
 +
 +
    .side-button.Results::before {
 +
      content: "Results";
 +
    }
 +
 +
    .side-button.Results:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/7/7f/T--NTHU_Formosa--icon_result.png") no-repeat center;
 +
    }
 +
 +
    .side-button.Parts::before {
 +
      content: "Parts";
 +
    }
 +
 +
    .side-button.Parts:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/f/fc/T--NTHU_Formosa--icon_part.png") no-repeat center;
 +
    }
 +
 +
    .side-button.Notebook::before {
 +
      content: "Notebook";
 +
    }
 +
 +
    .side-button.Notebook:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/c/ca/T--NTHU_Formosa--notebook.png") no-repeat center;
 +
    }
 +
 +
    .side-button.InterLab::before {
 +
      content: "InterLab";
 +
    }
 +
 +
    .side-button.InterLab:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/f/ff/T--NTHU_Formosa--icon_interlab.png") no-repeat center;
 +
    }
 +
   
 +
    .side-button.Collaborations::before {
 +
      content: "Collaborations";
 +
    }
 +
 +
    .side-button.Collaborations:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/9/99/T--NTHU_Formosa--icon_collaboration.png") no-repeat center;
 +
    }
 +
 +
    .side-button.Public_Engagement::before {
 +
      content: "Public Engagement";
 +
    }
 +
 +
    .side-button.Public_Engagement:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/e/e4/T--NTHU_Formosa--public_engagement.png") no-repeat center;
 +
    }
 +
   
 +
    .side-button.Integrated_Human_Practice::before {
 +
      content: "Integrated Human Practice";
 +
    }
 +
 +
    .side-button.Integrated_Human_Practice:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/7/7a/T--NTHU_Formosa--icon_integrated.png") no-repeat center;
 +
    }
 +
 +
 +
    .side-button.Team::before {
 +
      content: "Team Members";
 +
    }
 +
 +
    .side-button.Team:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/b/bc/T--NTHU_Formosa--aboutus.png") no-repeat center;
 +
    }
 +
 +
    .side-button.Sponsor::before {
 +
      content: "Sponsors";
 +
    }
 +
 +
    .side-button.Sponsor:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/8/8c/T--NTHU_Formosa--icon-sponsor.png") no-repeat center;
 +
    }
 +
 +
    .side-button.Attributions::before {
 +
      content: "Attributions";
 +
    }
 +
 +
    .side-button.Attributions:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/2/29/T--NTHU_Formosa--attribution.png") no-repeat center;
 +
    }
 +
 +
    .side-button.Judging::before {
 +
      content: "Judging Form";
 +
    }
 +
 +
    .side-button.Judging:after {
 +
      background: url("https://static.igem.org/mediawiki/2018/a/a9/T--NTHU_Formosa--medal.png") no-repeat center;
 +
    }
 +
  </style>
 +
</head>
 +
 +
<body onhashchange="onAnchorChange()">
 +
 +
  <!-- Fixed Sidebar -->
 +
  <div class="side-bar">
 +
    <div class="side-container top">
 +
    </div>
 +
    <div class="side-container middle">
 +
      <div class="rela-block side-button" id="mySide_1"></div>
 +
      <div class="rela-block side-button" id="mySide_2"></div>
 +
      <div class="rela-block side-button" id="mySide_3"></div>
 +
      <div class="rela-block side-button" id="mySide_4"></div>
 +
    </div>
 +
  </div>
 +
 +
  <!-- Sidebar script, DO NOT MODIFY -->
 +
  <script>
 +
    onAnchorChange();
 +
 +
    function onAnchorChange() {
 +
      //Initialize all side element
 +
      var side = [document.getElementById("mySide_1"), document.getElementById("mySide_2"), document.getElementById("mySide_3"), document.getElementById("mySide_4")];
 +
 +
      // Clear all class and URLs
 +
      for (let i = 0; i < 4; i++) {
 +
        side[i].classList.remove(side[i].classList.item(2));
 +
        side[i].onclick = function() {};
 +
      }
 +
 +
      // Get anchor url var currentUrl = document.URL,
 +
      var urlParts = document.URL.split('#');
 +
      if (urlParts.length > 1) {
 +
        var anchor = urlParts[1];
 +
 +
        // Add the corresponding class
 +
        switch (anchor) {
 +
 +
          case "0": //Interactice cell
 +
            side[0].classList.add("Biomarker");
 +
            side[0].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Biomarker";
 +
            };
 +
            side[1].classList.add("Nanobody");
 +
            side[1].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Nanobody";
 +
            };
 +
            side[2].classList.add("TEV");
 +
            side[2].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/TEV_protease";
 +
            };
 +
            side[3].classList.add("Bioluminescence");
 +
            side[3].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Bioluminescence";
 +
            };
 +
            break;
 +
          case "1": //Project
 +
            side[0].classList.add("Introduction");
 +
            side[0].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Description";
 +
            };
 +
            side[1].classList.add("Design");
 +
            side[1].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Design";
 +
            };
 +
            side[2].classList.add("Biosafety");
 +
            side[2].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Safety";
 +
            };
 +
            side[3].classList.add("Applied_Design");
 +
            side[3].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Applied_Design";
 +
            };
 +
            break;
 +
          case "2": //Demonstrate
 +
            side[0].classList.add("Results");
 +
            side[0].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Results";
 +
            };
 +
            side[1].classList.add("Parts");
 +
            side[1].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Parts";
 +
            };
 +
            side[2].classList.add("Notebook");
 +
            side[2].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Notebook";
 +
            };
 +
            side[3].classList.add("InterLab");
 +
            side[3].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/InterLab";
 +
            };
 +
            break;
 +
 +
          case "3": //Human Practices
 +
         
 +
            side[0].classList.add("Collaborations");
 +
            side[0].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Collaborations";
 +
            };
 +
            side[1].classList.add("Public_Engagement");
 +
            side[1].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Public_Engagement";
 +
            };
 +
            side[2].classList.add("Integrated_Human_Practice");
 +
            side[2].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Human_Practices";
 +
            };
 +
            side[3].classList.add("");
 +
            side[3].onclick = function() {
 +
              location.href = "";
 +
            };
 +
           
 +
            break;
 +
          case "4": //About us
 +
            side[0].classList.add("Team");
 +
            side[0].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Team";
 +
            };
 +
            side[1].classList.add("Sponsor");
 +
            side[1].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Sponsor";
 +
            };
 +
            side[2].classList.add("Attributions");
 +
            side[2].onclick = function() {
 +
              location.href = "https://2018.igem.org/Team:NTHU_Formosa/Attributions";
 +
            };
 +
            side[3].classList.add("Judging");
 +
            side[3].onclick = function() {
 +
              location.href = "https://igem.org/2018_Judging_Form?team=NTHU_Formosa";
 +
            };
 +
            break;
 +
        }
 +
      }
 +
    }
 +
  </script>
 +
 +
  <!-- Scrolling Page -->
 +
  <div id="fullpage">
 +
 +
    <!-- Section 0 -->
 +
    <div class="section " id="section0">
 +
    </div>
 +
 +
    <script>
 +
      window.onload = function() {
 +
 +
        let i = 0;
 +
 +
        function changeImage() {
 +
          var BackgroundImg = ["https://static.igem.org/mediawiki/2018/6/66/T--NTHU_Formosa--cell0.png",
 +
            "https://static.igem.org/mediawiki/2018/3/39/T--NTHU_Formosa--cell1.png",
 +
            "https://static.igem.org/mediawiki/2018/8/88/T--NTHU_Formosa--cell2.png",
 +
            "https://static.igem.org/mediawiki/2018/b/be/T--NTHU_Formosa--cell3.png",
 +
            "https://static.igem.org/mediawiki/2018/0/0f/T--NTHU_Formosa--%E7%B4%B0%E8%83%9E5.png"
 +
          ];
 +
 +
          //document.getElementById("section0").style.property = background-image:
 +
          console.log(i);
 +
          document.getElementById("section0").style.backgroundImage = 'url("' + BackgroundImg[i] + '")';
 +
          if (i == 4) i = 0;
 +
          else i = i + 1;
 +
        }
 +
        window.setInterval(changeImage, 3000);
 +
      }
 +
    </script>
 +
 +
   
 +
   
 +
   
 +
 +
    <!-- Section 1 -->
 +
    <div class="section" id="section1">
 +
    </div>
 +
 +
    <!-- Section 2 -->
 +
    <div class="section" id="section2">
 +
    </div>
 +
 +
    <!-- Section 3 -->
 +
 +
 +
    <!-- Section 4 -->
 +
    <div class="section" id="section4">
 +
    </div>
 +
 +
    <!-- Section 5 -->
 +
    <div class="section" id="section5">
 +
    </div>
 +
 +
  </div>
 +
 +
 +
  <!-- fullpage.js, DO NOT MODIFT! -->
 +
  <script type="text/javascript" src="https://2018.igem.org/wiki/index.php?title=Template:NTHU_Formosa/Javascript&action=raw&ctype=text/javascript"></script>
 +
 +
  <script type="text/javascript">
 +
    var myFullpage = new fullpage('#fullpage', {
 +
      anchors: ['0', '1', '2', '3', '4', '5'],
 +
      sectionsColor: ['#000000', '#1BBC9B', '#7E8F7C'],
 +
      css3: true,
 +
      licenseKey: "OPEN-SOURCE-GPLV3-LICENSE",
 +
      scrollBar: true,
 +
      lazyLoading: false
 +
    });
 +
  </script>
 +
  <!-- end of fullpage.js -->
 +
 +
</body>
  
 
</html>
 
</html>

Latest revision as of 00:36, 18 October 2018