Difference between revisions of "Team:BIT/Interlab/test"

Line 1: Line 1:
  
<html lang="">
+
 
 +
<html>
 
<head>
 
<head>
<title>Jeren</title>
 
 
<meta charset="utf-8">
 
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+
<title>HTML5+CSS3气泡式图标菜单特效 - 站长素材</title>
<link href="layout/styles/layout.css" rel="stylesheet" type="text/css" media="all">
+
 
 +
<style>
 +
*, *:before, *:after {
 +
  box-sizing: border-box;
 +
  margin: 0;
 +
  padding: 0;
 +
}
 +
 
 +
:root {
 +
  font-size: calc(16px + (20 - 16) * (100vw - 320px)/(980 - 320));
 +
  --rotateTimes: 0;
 +
}
 +
 
 +
body {
 +
  background-color: #002;
 +
  background-image: radial-gradient(circle at center, #045, #002);
 +
  color: #fff;
 +
  font: 1em "Open Sans", sans-serif;
 +
  height: 100vh;
 +
  line-height: 1.5;
 +
}
 +
 
 +
nav, ul, li {
 +
  transform-style: preserve-3d;
 +
}
 +
 
 +
nav, li {
 +
  position: absolute;
 +
  top: 50%;
 +
  left: 50%;
 +
}
 +
 
 +
nav, li a {
 +
  border-radius: 50%;
 +
}
 +
 
 +
nav {
 +
  width: 18em;
 +
  height: 18em;
 +
  transform: translate(-50%, -50%) rotateX(75deg);
 +
}
 +
 
 +
ul, li a {
 +
  width: 100%;
 +
  height: 100%;
 +
}
 +
 
 +
ul {
 +
  list-style: none;
 +
}
 +
 
 +
li {
 +
  animation: idle 4s ease-in-out infinite;
 +
  text-align: center;
 +
  width: 5em;
 +
  height: 5em;
 +
  transform: translate(-50%, -50%);
 +
}
 +
li a {
 +
  box-shadow: 0 0 0 0.1em #0cf inset, 0 0 1em #0cf inset;
 +
  color: currentColor;
 +
  display: inline-block;
 +
  text-decoration: none;
 +
  transition: transform 0.4s linear, box-shadow 0.15s linear,  margin 0.1s linear, width 0.1s linear,  height 0.1s linear;
 +
}
 +
li a span {
 +
  transition: color 0.15s linear;
 +
}
 +
li a:before {
 +
  background-color: #fff;
 +
  border-radius: 50%;
 +
  content: "";
 +
  display: block;
 +
  opacity: 0.5;
 +
  position: absolute;
 +
  top: 0.75em;
 +
  left: 0.75em;
 +
  width: 1em;
 +
  height: 0.5em;
 +
  transform: rotate(-45deg);
 +
}
 +
li a:focus, li a.current {
 +
  box-shadow: 0 0 0 0.1em #ff0 inset, 0 0 1em #ff0 inset;
 +
  outline: 0;
 +
}
 +
li a:focus span, li a.current span {
 +
  color: #ff0;
 +
}
 +
li a:hover {
 +
  margin: -5% 0 0 -5%;
 +
  width: 110%;
 +
  height: 110%;
 +
}
 +
li a:hover svg {
 +
  width: 3em;
 +
  height: 3em;
 +
}
 +
 
 +
@media (prefers-reduced-motion) {
 +
  li {
 +
    animation: none;
 +
  }
 +
}
 +
svg {
 +
  display: block;
 +
  margin: 1.25em auto 1.5em auto;
 +
  transition: width 0.1s linear, height 0.1s linear;
 +
  width: 2.5em;
 +
  height: 2.5em;
 +
}
 +
 
 +
/* Position bubbles */
 +
li:nth-of-type(1) {
 +
  animation-delay: 0s;
 +
}
 +
li:nth-of-type(1) a {
 +
  transform: rotate(calc(0deg + var(--rotateTimes) * 51.4285714286deg)) translateY(9em) rotate(calc(0deg - var(--rotateTimes) * 51.4285714286deg)) rotateX(-75deg);
 +
}
 +
 
 +
li:nth-of-type(2) {
 +
  animation-delay: -0.5s;
 +
}
 +
li:nth-of-type(2) a {
 +
  transform: rotate(calc(-51.4285714286deg + var(--rotateTimes) * 51.4285714286deg)) translateY(9em) rotate(calc(51.4285714286deg - var(--rotateTimes) * 51.4285714286deg)) rotateX(-75deg);
 +
}
 +
 
 +
li:nth-of-type(3) {
 +
  animation-delay: -1s;
 +
}
 +
li:nth-of-type(3) a {
 +
  transform: rotate(calc(-102.8571428571deg + var(--rotateTimes) * 51.4285714286deg)) translateY(9em) rotate(calc(102.8571428571deg - var(--rotateTimes) * 51.4285714286deg)) rotateX(-75deg);
 +
}
 +
 
 +
li:nth-of-type(4) {
 +
  animation-delay: -1.5s;
 +
}
 +
li:nth-of-type(4) a {
 +
  transform: rotate(calc(-154.2857142857deg + var(--rotateTimes) * 51.4285714286deg)) translateY(9em) rotate(calc(154.2857142857deg - var(--rotateTimes) * 51.4285714286deg)) rotateX(-75deg);
 +
}
 +
 
 +
li:nth-of-type(5) {
 +
  animation-delay: -2s;
 +
}
 +
li:nth-of-type(5) a {
 +
  transform: rotate(calc(-205.7142857143deg + var(--rotateTimes) * 51.4285714286deg)) translateY(9em) rotate(calc(205.7142857143deg - var(--rotateTimes) * 51.4285714286deg)) rotateX(-75deg);
 +
}
 +
 
 +
/* Animations */
 +
.rise {
 +
  animation: rise 1s ease-out;
 +
}
 +
.rise a {
 +
  animation: fadeOut 1s ease-out;
 +
}
 +
.rise a.pop {
 +
  animation: pop 1s linear;
 +
}
 +
.rise a.pop svg, .rise a.pop span {
 +
  visibility: hidden;
 +
}
 +
 
 +
@keyframes rise {
 +
  from {
 +
    transform: translateZ(0);
 +
  }
 +
  15% {
 +
    transform: translateZ(-1em);
 +
  }
 +
  to {
 +
    transform: translateZ(35em);
 +
  }
 +
}
 +
@keyframes fadeOut {
 +
  from, 15% {
 +
    opacity: 1;
 +
  }
 +
  50%, to {
 +
    opacity: 0;
 +
  }
 +
}
 +
@keyframes pop {
 +
  from {
 +
    margin: -5% 0 0 -5%;
 +
    width: 110%;
 +
    height: 110%;
 +
    opacity: 1;
 +
  }
 +
  10%, to {
 +
    margin: -20% 0 0 -20%;
 +
    width: 140%;
 +
    height: 140%;
 +
    opacity: 0;
 +
  }
 +
}
 +
@keyframes idle {
 +
  from, to {
 +
    transform: translate(-50%, -48%);
 +
  }
 +
  25% {
 +
    transform: translate(-52%, -50%);
 +
  }
 +
  50% {
 +
    transform: translate(-50%, -52%);
 +
  }
 +
  75% {
 +
    transform: translate(-48%, -50%);
 +
  }
 +
}
 +
</style>
 
</head>
 
</head>
<body id="top">
+
<body>
<div class="wrapper row0">
+
<nav>
  <div id="topbar" class="hoc clear">
+
<ul>
        <div class="fl_left">
+
<li>
      <ul class="nospace">
+
<a href="#phone" data-item="0">
        <li><i class="fa fa-phone"></i> +00 (123) 456 7890</li>
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64" enable-background="new 0 0 64 64">
        <li><i class="fa fa-envelope-o"></i> info@domain.com</li>
+
<path fill="none" stroke="#fff" stroke-width="6" stroke-miterlimit="10" d="M46.671,57.375c0,2.003-1.643,3.625-3.667,3.625
      </ul>
+
H20.997c-2.026,0-3.668-1.622-3.668-3.625V6.625C17.329,4.624,18.971,3,20.997,3h22.007c2.024,0,3.667,1.624,3.667,3.625V57.375z">
    </div>
+
<line fill="none" stroke="#fff" stroke-width="6" stroke-miterlimit="10" x1="20" y1="47" x2="44" y2="47">
    <div class="fl_right">
+
<line fill="none" stroke="#fff" stroke-width="6" stroke-miterlimit="10" x1="20" y1="12" x2="44" y2="12">
      <ul class="nospace">
+
<circle fill="#fff" cx="32" cy="54" r="3">
        <li><a href="#"><i class="fa fa-lg fa-home"></i></a></li>
+
</svg>
        <li><a href="#">About</a></li>
+
<span>Phone</span>
        <li><a href="#">Contact</a></li>
+
</a>
        <li><a href="#">Login</a></li>
+
</li>
        <li><a href="#">Register</a></li>
+
<li>
      </ul>
+
<a href="#music" data-item="1">
    </div>
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64" enable-background="new 0 0 64 64">
      </div>
+
<polyline fill="none" stroke="#fff" stroke-width="6" stroke-miterlimit="10" points="20,56.698 20,14.813 57,3.995 57,45.881
</div>
+
">
<div class="wrapper row1">
+
<path fill="#fff" d="M13.5,48.612c5.247,0,9.5,3.443,9.5,7.698c0,4.252-4.253,7.697-9.5,7.697c-5.245,0-9.5-3.445-9.5-7.697
  <header id="header" class="hoc clear">
+
C4,52.056,8.255,48.612,13.5,48.612z">
        <div id="logo" class="fl_left">
+
<path fill="#fff" d="M50.503,38.621c5.245,0,9.497,3.445,9.497,7.698c0,4.252-4.252,7.697-9.497,7.697c-5.251,0-9.503-3.445-9.503-7.697
      <h1><a href="https://2018.igem.org/Team:BIT">BIT</a></h1>
+
C41,42.066,45.252,38.621,50.503,38.621z">
    </div>
+
<line fill="none" stroke="#fff" stroke-width="6" stroke-miterlimit="10" x1="20" y1="27.163" x2="57.016" y2="16.362">
    <nav id="mainav" class="fl_right">
+
</svg>
      <ul class="clear">
+
<span>Music</span>
        <li class="active"><a href="https://2018.igem.org/Team:BIT">Home</a></li>
+
</a>
        <li><a class="drop" href="#">Pages</a>
+
</li>
          <ul>
+
<li>
            <li><a href="pages/gallery.html">Gallery</a></li>
+
<a href="#map" data-item="2">
            <li><a href="pages/full-width.html">Full Width</a></li>
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64" enable-background="new 0 0 64 64">
            <li><a href="pages/sidebar-left.html">Sidebar Left</a></li>
+
<path fill="#fff" d="M32.001,0C20.346,0,10.898,9.448,10.898,21.103C10.898,32.688,31.986,64,31.986,64
            <li><a href="pages/sidebar-right.html">Sidebar Right</a></li>
+
s21.086-31.312,21.086-42.897h0.029C53.102,9.448,43.653,0,32.001,0z M31.986,27.637c-4.016,0-7.271-3.255-7.271-7.27
            <li><a href="pages/basic-grid.html">Basic Grid</a></li>
+
s3.255-7.27,7.271-7.27s7.269,3.255,7.269,7.27S36.002,27.637,31.986,27.637z">
          </ul>
+
</svg>
        </li>
+
<span>Map</span>
        <li><a class="drop" href="#">Dropdown</a>
+
</a>
          <ul>
+
</li>
            <li><a href="#">Level 2</a></li>
+
<li>
            <li><a class="drop" href="#">Level 2 + Drop</a>
+
<a href="#wifi" data-item="3">
              <ul>
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64" enable-background="new 0 0 64 64">
                <li><a href="#">Level 3</a></li>
+
<path fill="#fff" d="M32.008,49.836c1.928,0,3.496,1.559,3.496,3.499c0,1.939-1.567,3.499-3.496,3.499
                <li><a href="#">Level 3</a></li>
+
c-1.935,0-3.502-1.56-3.502-3.499C28.506,51.395,30.074,49.836,32.008,49.836z">
                <li><a href="#">Level 3</a></li>
+
<path fill="none" stroke="#fff" stroke-width="6" stroke-miterlimit="10" d="M22.082,44.234L22.082,44.234
              </ul>
+
c5.486-5.79,14.376-5.79,19.857,0l0,0">
            </li>
+
<path fill="none" stroke="#fff" stroke-width="6" stroke-miterlimit="10" d="M52.061,33.604
            <li><a href="#">Level 2</a></li>
+
c-11.055-11.605-28.993-11.619-40.064-0.031c-0.01,0.011-0.021,0.021-0.031,0.031l0,0">
          </ul>
+
<path fill="none" stroke="#fff" stroke-width="6" stroke-miterlimit="10" d="M61.819,23.229C45.383,5.831,18.713,5.81,2.25,23.18
        </li>
+
c-0.014,0.017-0.03,0.032-0.046,0.049l0,0">
        <li><a href="#">Link Text</a></li>
+
</svg>
        <li><a href="#">Link Text</a></li>
+
<span>Wi-Fi</span>
      </ul>
+
</a>
    </nav>
+
</li>
      </header>
+
<li>
</div>
+
<a href="#settings" data-item="4">
<div class="bgded overlay" style="background-image:url('https://static.igem.org/mediawiki/2018/6/6f/T--BIT--test_01.png');">
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="64px" height="64px" viewBox="0 0 64 64" enable-background="new 0 0 64 64">
  <div id="pageintro" class="hoc clear">
+
<path fill="#fff" d="M61.89,24.271l-6.927-0.707c-0.476-1.31-1.06-2.577-1.751-3.788c-0.701-1.205-1.496-2.349-2.389-3.418
        <div class="flexslider basicslider">
+
l2.858-6.352c0.466-1.086,0.049-2.351-0.973-2.948l-9.34-5.451c-1.036-0.6-2.36-0.319-3.065,0.648L36.164,7.9
      <ul class="slides">
+
c-2.757-0.477-5.573-0.477-8.327,0l-4.068-5.644c-0.705-0.967-2.028-1.248-3.065-0.648L11.318,7.03
        <li>
+
c-1.021,0.596-1.439,1.86-0.973,2.948l2.845,6.335c-1.787,2.147-3.192,4.584-4.157,7.206l-6.925,0.707
          <article>
+
C0.912,24.348,0.002,25.354,0,26.556v10.844c-0.021,1.22,0.895,2.251,2.107,2.374l6.925,0.708c0.96,2.621,2.366,5.061,4.157,7.204
            <p>BIT</p>
+
l-2.845,6.337c-0.467,1.089-0.049,2.35,0.973,2.947l9.386,5.423c1.037,0.6,2.36,0.319,3.065-0.647l4.082-5.646
            <h3 class="heading">JACOB 2.0</h3>
+
c2.754,0.478,5.571,0.478,8.328,0l4.062,5.632c0.71,0.967,2.029,1.247,3.065,0.647l9.387-5.422c1.022-0.598,1.439-1.861,0.974-2.948
            <p>just a test</p>
+
l-2.844-6.337c1.79-2.146,3.194-4.583,4.154-7.207l6.926-0.705c1.186-0.13,2.087-1.123,2.097-2.314V26.599
            <footer><a class="btn" href="https://2018.igem.org/Team:BIT">about more</a></footer>
+
C63.995,25.397,63.084,24.392,61.89,24.271z M32.229,45.654c-7.374,0-13.351-5.979-13.351-13.352
          </article>
+
c0-7.374,5.977-13.351,13.351-13.351c7.37,0,13.352,5.977,13.352,13.351C45.58,39.675,39.599,45.654,32.229,45.654z">
        </li>
+
</svg>
        <li>
+
<span>Settings</span>
          <article>
+
</a>
            <p>Pulvinar</p>
+
</li>
            <h3 class="heading">Ornare tortor quisque</h3>
+
</ul>
            <p>Odio semper sed euismod mi euismod curabitur</p>
+
</nav>
            <footer><a class="btn inverse" href="#">Eget venenatis</a></footer>
+
          </article>
+
        </li>
+
        <li>
+
          <article>
+
            <p>Sagittis</p>
+
            <h3 class="heading">Feugiat blandit erat</h3>
+
            <p>Convallis nibh nulla nec dictum mi consequat vel</p>
+
            <footer><a class="btn" href="#">Facilisis vestibulum</a></footer>
+
          </article>
+
        </li>
+
      </ul>
+
    </div>
+
      </div>
+
</div>
+
<div class="wrapper row3">
+
  <main class="hoc container clear">
+
    <!-- main body -->
+
        <div class="sectiontitle">
+
      <h3 class="heading">interlab</h3>
+
      <p>whatever you see is a damn fake</p>
+
    </div>
+
    <p class="btmspace-50 justified">Enim neque nec placerat risus suscipit vitae volutpat nisi sit amet turpis molestie ut sodales nisi efficitur duis id ex eros vivamus ac vehicula nibh non luctus ipsum suspendisse dolor metus varius in facilisis vitae euismod nec ex donec ullamcorper eros vel molestie sagittis libero augue elementum libero cursus euismod sem leo sed augue praesent condimentum odio sit amet nulla tempor sollicitudin lacinia mauris vestibulum cras euismod accumsan dolor et convallis praesent porttitor maximus viverra proin fermentum scelerisque neque quis consequat mauris rutrum eget proin fringilla nisi libero in tincidunt tortor porttitor sed phasellus vitae molestie massa suspendisse.</p>
+
    <ul class="nospace group center">
+
      <li class="one_quarter first">
+
        <article><a href="#"><i class="icon btmspace-30 fa fa-500px"></i></a>
+
          <h6 class="heading">Varius eros ac</h6>
+
        </article>
+
      </li>
+
      <li class="one_quarter">
+
        <article><a href="#"><i class="icon btmspace-30 fa fa-adjust"></i></a>
+
          <h6 class="heading">Augue praesent</h6>
+
        </article>
+
      </li>
+
      <li class="one_quarter">
+
        <article><a href="#"><i class="icon btmspace-30 fa fa-amazon"></i></a>
+
          <h6 class="heading">Bibendum pulvinar</h6>
+
        </article>
+
      </li>
+
      <li class="one_quarter">
+
        <article><a href="#"><i class="icon btmspace-30 fa fa-apple"></i></a>
+
          <h6 class="heading">Dignissim aliquam</h6>
+
        </article>
+
      </li>
+
    </ul>
+
        <!-- / main body -->
+
    <div class="clear"></div>
+
  </main>
+
</div>
+
<div class="wrapper bgded overlay" style="background-image:url('https://static.igem.org/mediawiki/2018/1/12/T--BIT--test_02.png');">
+
  <article class="hoc container clear">  
+
        <div class="three_quarter first">
+
      <h6 class="nospace">Aenean et sollicitudin</h6>
+
      <p class="nospace">tincidunt tellus sit amet ex blandit cursus sed placerat hendrerit tincidunt</p>
+
    </div>
+
    <footer class="one_quarter"><a class="btn" href="#">augue elementum &raquo;</a></footer>
+
      </article>
+
</div>
+
<div class="wrapper bgded overlay light" style="background-image:url('https://static.igem.org/mediawiki/2018/d/d4/T--BIT--test_03.png');">
+
  <section class="hoc container clear">
+
        <div class="sectiontitle">
+
      <h3 class="heading">Euismod interdum viverra</h3>
+
      <p>Id eros nec finibus convallis nulla curabitur enim est egestas.</p>
+
    </div>
+
    <ul class="nospace group services">
+
      <li class="one_third first">
+
        <article><a href="#"><i class="icon fa fa-camera"></i></a>
+
          <h6 class="heading">Hendrerit bibendum</h6>
+
          <p>Id erat etiam molestie mi et tincidunt facilisis nulla urna viverra nibh in ullamcorper&hellip;</p>
+
          <footer><a href="#">Read More &raquo;</a></footer>
+
        </article>
+
      </li>
+
      <li class="one_third">
+
        <article><a href="#"><i class="icon fa fa-bank"></i></a>
+
          <h6 class="heading">Vestibulum suscipit</h6>
+
          <p>Enim nullam tincidunt tortor eget amet dui duis sed vestibulum velit praesent blandit lorem viverra&hellip;</p>
+
          <footer><a href="#">Read More &raquo;</a></footer>
+
        </article>
+
      </li>
+
      <li class="one_third">
+
        <article><a href="#"><i class="icon fa fa-cny"></i></a>
+
          <h6 class="heading">Velit eu maximus massa</h6>
+
          <p>Turpis vel egestas ante etiam maximus placerat placerat aliquam in lectus ut lectus&hellip;</p>
+
          <footer><a href="#">Read More &raquo;</a></footer>
+
        </article>
+
      </li>
+
      <li class="one_third first">
+
        <article><a href="#"><i class="icon fa fa-coffee"></i></a>
+
          <h6 class="heading">Dignissim id maecenas</h6>
+
          <p>Scelerisque sollicitudin aenean efficitur magna non aliquet convallis phasellus ut rutrum&hellip;</p>
+
          <footer><a href="#">Read More &raquo;</a></footer>
+
        </article>
+
      </li>
+
      <li class="one_third">
+
        <article><a href="#"><i class="icon fa fa-flask"></i></a>
+
          <h6 class="heading">Tempus odio a ipsum</h6>
+
          <p>Neque vivamus eu arcu enim phasellus efficitur euismod augue sed bibendum ipsum sodales&hellip;</p>
+
          <footer><a href="#">Read More &raquo;</a></footer>
+
        </article>
+
      </li>
+
      <li class="one_third">
+
        <article><a href="#"><i class="icon fa fa-legal"></i></a>
+
          <h6 class="heading">Consequat scelerisque</h6>
+
          <p>Eget aenean tellus leo consequat sit amet quam ut interdum commodo nunc nunc ipsum lacus&hellip;</p>
+
          <footer><a href="#">Read More &raquo;</a></footer>
+
        </article>
+
      </li>
+
    </ul>
+
        <div class="clear"></div>
+
  </section>
+
</div>
+
<div class="wrapper row3">
+
  <article class="hoc container clear">
+
        <div class="sectiontitle">
+
      <h3 class="heading">Aliquam et nulla ac magna</h3>
+
      <p>Etiam euismod neque sapien eget suscipit justo pharetra id.</p>
+
    </div>
+
    <figure>
+
      <ul class="nospace group logos">
+
        <li class="one_quarter first"><a href="#"><img src="https://static.igem.org/mediawiki/2018/a/ad/T--BIT--test_222x100.png" alt=""></a></li>
+
        <li class="one_quarter"><a href="#"><img src="https://static.igem.org/mediawiki/2018/a/ad/T--BIT--test_222x100.png" alt=""></a></li>
+
        <li class="one_quarter"><a href="#"><img src="https://static.igem.org/mediawiki/2018/a/ad/T--BIT--test_222x100.png" alt=""></a></li>
+
        <li class="one_quarter"><a href="#"><img src="https://static.igem.org/mediawiki/2018/a/ad/T--BIT--test_222x100.png" alt=""></a></li>
+
      </ul>
+
    </figure>
+
      </article>
+
</div>
+
<div class="wrapper bgded overlay" style="background-image:url('https://static.igem.org/mediawiki/2018/c/ca/T--BIT--test_04.png');">
+
  <article class="hoc container">
+
        <div class="sectiontitle">
+
      <h3 class="heading">Odio facilisis sagittis</h3>
+
      <p>Ante vehicula suscipit suscipit mauris varius proin sed libero ut.</p>
+
    </div>
+
    <ul class="nospace group">
+
      <li class="one_half first borderedbox inspace-15">
+
        <blockquote>Vivamu nec laoreet felis sed at enim est aenean ac diam ante nulla sit amet felis purus nulla molestie maximus volutpat etiam ullamcorper malesuada tristique quisque ac neque accumsan dictum mauris</blockquote>
+
        <p class="right bold">John Doe / CEO</p>
+
      </li>
+
      <li class="one_half borderedbox inspace-15">
+
        <blockquote>In condimentum risus in faucibus metus nec mi porta congue interdum mauris commodo nulla sit amet convallis nunc a neque a metus ullamcorper bibendum nec sed nunc a metus facilisis volutpat faucibus</blockquote>
+
        <p class="right bold">John Doe / CEO</p>
+
      </li>
+
    </ul>
+
      </article>
+
</div>
+
<div class="wrapper row3">
+
  <section class="hoc container clear">
+
        <div class="sectiontitle">
+
      <h3 class="heading">Tempus feugiat odio</h3>
+
      <p>Est aliquam erat volutpat morbi ornare faucibus malesuada in.</p>
+
    </div>
+
    <ul class="nospace group">
+
      <li class="one_third first">
+
        <article class="excerpt"><a href="#"><img class="inspace-10 borderedbox" src="https://static.igem.org/mediawiki/2018/7/78/T--BIT--test_320X220.png" alt=""></a>
+
          <div class="excerpttxt">
+
            <ul>
+
              <li><i class="fa fa-calendar-o"></i> 06/01/45</li>
+
              <li><i class="fa fa-comments"></i> <a href="#">4</a></li>
+
            </ul>
+
            <h6 class="heading font-x1">At molestie morbi fringilla a leo sed auctor&hellip;</h6>
+
            <p><a class="btn" href="#">Read More &raquo;</a></p>
+
          </div>
+
        </article>
+
      </li>
+
      <li class="one_third">
+
        <article class="excerpt"><a href="#"><img class="inspace-10 borderedbox" src="https://static.igem.org/mediawiki/2018/7/78/T--BIT--test_320X220.png" alt=""></a>
+
          <div class="excerpttxt">
+
            <ul>
+
              <li><i class="fa fa-calendar-o"></i> 05/01/45</li>
+
              <li><i class="fa fa-comments"></i> <a href="#">4</a></li>
+
            </ul>
+
            <h6 class="heading font-x1">Curabitur malesuada eros turpis quis libero non&hellip;</h6>
+
            <p><a class="btn" href="#">Read More &raquo;</a></p>
+
          </div>
+
        </article>
+
      </li>
+
      <li class="one_third">
+
        <article class="excerpt"><a href="#"><img class="inspace-10 borderedbox" src="https://static.igem.org/mediawiki/2018/7/78/T--BIT--test_320X220.png" alt=""></a>
+
          <div class="excerpttxt">
+
            <ul>
+
              <li><i class="fa fa-calendar-o"></i> 04/01/45</li>
+
              <li><i class="fa fa-comments"></i> <a href="#">4</a></li>
+
            </ul>
+
            <h6 class="heading font-x1">Scelerisque hendrerit velit sed non elit lorem&hellip;</h6>
+
            <p><a class="btn" href="#">Read More &raquo;</a></p>
+
          </div>
+
        </article>
+
      </li>
+
    </ul>
+
      </section>
+
</div>
+
<div class="wrapper bgded overlay" style="background-image:url('https://static.igem.org/mediawiki/2018/2/26/T--BIT--test_05.png');">
+
  <article class="hoc container center">
+
        <div class="sectiontitle">
+
      <h3 class="heading">Euismod sem ullamcorper</h3>
+
      <p>Ullamcorper euismod eget condimentum ligula vestibulum vitae.</p>
+
    </div>
+
    <footer><a class="btn inverse" href="#">Sodales pulvinar</a></footer>
+
      </article>
+
</div>
+
<div class="wrapper row4">
+
  <footer id="footer" class="hoc clear">
+
        <div class="one_third first">
+
      <h6 class="heading">Risus lacus ut lectus</h6>
+
      <ul class="nospace btmspace-30 linklist contact">
+
        <li><i class="fa fa-map-marker"></i>
+
          <address>
+
          Street Name &amp; Number, Town, Postcode/Zip
+
          </address>
+
        </li>
+
        <li><i class="fa fa-phone"></i> +00 (123) 456 7890</li>
+
        <li><i class="fa fa-envelope-o"></i> info@domain.com</li>
+
      </ul>
+
      <ul class="faico clear">
+
        <li><a class="faicon-facebook" href="#"><i class="fa fa-facebook"></i></a></li>
+
        <li><a class="faicon-twitter" href="#"><i class="fa fa-twitter"></i></a></li>
+
        <li><a class="faicon-dribble" href="#"><i class="fa fa-dribbble"></i></a></li>
+
        <li><a class="faicon-linkedin" href="#"><i class="fa fa-linkedin"></i></a></li>
+
        <li><a class="faicon-google-plus" href="#"><i class="fa fa-google-plus"></i></a></li>
+
        <li><a class="faicon-vk" href="#"><i class="fa fa-vk"></i></a></li>
+
      </ul>
+
    </div>
+
    <div class="one_third">
+
      <h6 class="heading">Massa consequat tellus</h6>
+
      <ul class="nospace linklist">
+
        <li>
+
          <article>
+
            <h2 class="nospace font-x1"><a href="#">Non efficitur lacus elit</a></h2>
+
            <time class="font-xs block btmspace-10" datetime="2045-04-06">Friday, 6<sup>th</sup> April 2045</time>
+
            <p class="nospace">Metus mauris luctus lacinia posuere aenean nec cursus mi nunc ornare interdum [&hellip;]</p>
+
          </article>
+
        </li>
+
        <li>
+
          <article>
+
            <h2 class="nospace font-x1"><a href="#">Ut ipsum vestibulum et fringilla</a></h2>
+
            <time class="font-xs block btmspace-10" datetime="2045-04-05">Thursday, 5<sup>th</sup> April 2045</time>
+
            <p class="nospace">Nunc vitae porttitor ipsum in hac habitasse platea dictumst in quis arcu ac [&hellip;]</p>
+
          </article>
+
        </li>
+
      </ul>
+
    </div>
+
    <div class="one_third">
+
      <h6 class="heading">Praesent porttitor pulvinar</h6>
+
      <p class="nospace btmspace-30">Ligula euismod lacinia eget hendrerit nunc mauris ultrices mauris vel.</p>
+
      <form method="post" action="#">
+
        <fieldset>
+
          <legend>Newsletter:</legend>
+
          <input class="btmspace-15" type="text" value="" placeholder="Name">
+
          <input class="btmspace-15" type="text" value="" placeholder="Email">
+
          <button type="submit" value="submit">Submit</button>
+
        </fieldset>
+
      </form>
+
    </div>
+
      </footer>
+
</div>
+
<div class="wrapper row5">
+
  <div id="copyright" class="hoc clear">
+
        <p class="fl_left">Copyright &copy; 2018.Company name All rights reserved.<a target="_blank" href="https://2018.igem.org/Team:BIT">&#x7F51;&#x9875;&#x6A21;&#x677F;</a></p>
+
    <p class="fl_right"></p>
+
      </div>
+
</div>
+
<a id="backtotop" href="#top"><i class="fa fa-chevron-up"></i></a>
+
<!-- JAVASCRIPTS -->
+
<script >
+
/*
+
Template Name: Jeren
+
Author: <a href="https://www.os-templates.com/">OS Templates</a>
+
Author URI: https://www.os-templates.com/
+
Licence: Free to use under our free template licence terms
+
Licence URI: https://www.os-templates.com/template-terms
+
File: Back to Top JS
+
*/
+
  
jQuery("#backtotop").click(function () {
+
<script>
    jQuery("body,html").animate({
+
document.addEventListener("DOMContentLoaded", function(){
        scrollTop: 0
+
let rise = function(trigEl) {
    }, 600);
+
trigEl.blur();
});
+
jQuery(window).scroll(function () {
+
    if (jQuery(window).scrollTop() > 150) {
+
        jQuery("#backtotop").addClass("visible");
+
    } else {
+
        jQuery("#backtotop").removeClass("visible");
+
    }
+
});</script>
+
  
<script >
+
let ul = document.querySelector("ul");
/*
+
Template Name: Jeren
+
Author: <a href="https://www.os-templates.com/">OS Templates</a>
+
Author URI: https://www.os-templates.com/
+
Licence: Free to use under our free template licence terms
+
Licence URI: https://www.os-templates.com/template-terms
+
File: Mobile Menu JS
+
  
Thanks to:
+
ul.classList.add("rise");
"Convert a Menu to a Dropdown for Small Screens" from Chris Collier - http://css-tricks.com/convert-menu-to-dropdown/
+
trigEl.classList.add("pop");
"Submenu's with a dash" Daryn St. Pierre - http://jsfiddle.net/bloqhead/Kq43X/
+
*/
+
  
$('<form action="#"><select /></form>').appendTo("#mainav");$("<option />",{selected:"selected",value:"",text:"MENU"}).appendTo("#mainav select");$("#mainav a").each(function(){var e=$(this);if($(e).parents("ul ul ul").length>=1){$("<option />",{value:e.attr("href"),text:"- - - "+e.text()}).appendTo("#mainav select")}else if($(e).parents("ul ul").length>=1){$("<option />",{value:e.attr("href"),text:"- - "+e.text()}).appendTo("#mainav select")}else if($(e).parents("ul").length>=1){$("<option />",{value:e.attr("href"),text:""+e.text()}).appendTo("#mainav select")}else{$("<option />",{value:e.attr("href"),text:e.text()}).appendTo("#mainav select")}});$("#mainav select").change(function(){if($(this).find("option:selected").val()!=="#"){window.location=$(this).find("option:selected").val()}})</script>
+
setTimeout(function(){
 +
trigEl.focus();
  
<script >/*
+
ul.classList.remove("rise");
* jQuery FlexSlider v2.6.3
+
trigEl.classList.remove("pop");
* Copyright 2012 WooThemes
+
}, 1000);
* Contributing Author: Tyler Smith
+
};
*/!function($){var e=!0;$.flexslider=function(t,a){var n=$(t);n.vars=$.extend({},$.flexslider.defaults,a);var i=n.vars.namespace,s=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,r=("ontouchstart"in window||s||window.DocumentTouch&&document instanceof DocumentTouch)&&n.vars.touch,o="click touchend MSPointerUp keyup",l="",c,d="vertical"===n.vars.direction,u=n.vars.reverse,v=n.vars.itemWidth>0,p="fade"===n.vars.animation,m=""!==n.vars.asNavFor,f={};$.data(t,"flexslider",n),f={init:function(){n.animating=!1,n.currentSlide=parseInt(n.vars.startAt?n.vars.startAt:0,10),isNaN(n.currentSlide)&&(n.currentSlide=0),n.animatingTo=n.currentSlide,n.atEnd=0===n.currentSlide||n.currentSlide===n.last,n.containerSelector=n.vars.selector.substr(0,n.vars.selector.search(" ")),n.slides=$(n.vars.selector,n),n.container=$(n.containerSelector,n),n.count=n.slides.length,n.syncExists=$(n.vars.sync).length>0,"slide"===n.vars.animation&&(n.vars.animation="swing"),n.prop=d?"top":"marginLeft",n.args={},n.manualPause=!1,n.stopped=!1,n.started=!1,n.startTimeout=null,n.transitions=!n.vars.video&&!p&&n.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var a in t)if(void 0!==e.style[t[a]])return n.pfx=t[a].replace("Perspective","").toLowerCase(),n.prop="-"+n.pfx+"-transform",!0;return!1}(),n.ensureAnimationEnd="",""!==n.vars.controlsContainer&&(n.controlsContainer=$(n.vars.controlsContainer).length>0&&$(n.vars.controlsContainer)),""!==n.vars.manualControls&&(n.manualControls=$(n.vars.manualControls).length>0&&$(n.vars.manualControls)),""!==n.vars.customDirectionNav&&(n.customDirectionNav=2===$(n.vars.customDirectionNav).length&&$(n.vars.customDirectionNav)),n.vars.randomize&&(n.slides.sort(function(){return Math.round(Math.random())-.5}),n.container.empty().append(n.slides)),n.doMath(),n.setup("init"),n.vars.controlNav&&f.controlNav.setup(),n.vars.directionNav&&f.directionNav.setup(),n.vars.keyboard&&(1===$(n.containerSelector).length||n.vars.multipleKeyboard)&&$(document).bind("keyup",function(e){var t=e.keyCode;if(!n.animating&&(39===t||37===t)){var a=39===t?n.getTarget("next"):37===t?n.getTarget("prev"):!1;n.flexAnimate(a,n.vars.pauseOnAction)}}),n.vars.mousewheel&&n.bind("mousewheel",function(e,t,a,i){e.preventDefault();var s=0>t?n.getTarget("next"):n.getTarget("prev");n.flexAnimate(s,n.vars.pauseOnAction)}),n.vars.pausePlay&&f.pausePlay.setup(),n.vars.slideshow&&n.vars.pauseInvisible&&f.pauseInvisible.init(),n.vars.slideshow&&(n.vars.pauseOnHover&&n.hover(function(){n.manualPlay||n.manualPause||n.pause()},function(){n.manualPause||n.manualPlay||n.stopped||n.play()}),n.vars.pauseInvisible&&f.pauseInvisible.isHidden()||(n.vars.initDelay>0?n.startTimeout=setTimeout(n.play,n.vars.initDelay):n.play())),m&&f.asNav.setup(),r&&n.vars.touch&&f.touch(),(!p||p&&n.vars.smoothHeight)&&$(window).bind("resize orientationchange focus",f.resize),n.find("img").attr("draggable","false"),setTimeout(function(){n.vars.start(n)},200)},asNav:{setup:function(){n.asNav=!0,n.animatingTo=Math.floor(n.currentSlide/n.move),n.currentItem=n.currentSlide,n.slides.removeClass(i+"active-slide").eq(n.currentItem).addClass(i+"active-slide"),s?(t._slider=n,n.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var t=$(this),a=t.index();$(n.vars.asNavFor).data("flexslider").animating||t.hasClass("active")||(n.direction=n.currentItem<a?"next":"prev",n.flexAnimate(a,n.vars.pauseOnAction,!1,!0,!0))})})):n.slides.on(o,function(e){e.preventDefault();var t=$(this),a=t.index(),s=t.offset().left-$(n).scrollLeft();0>=s&&t.hasClass(i+"active-slide")?n.flexAnimate(n.getTarget("prev"),!0):$(n.vars.asNavFor).data("flexslider").animating||t.hasClass(i+"active-slide")||(n.direction=n.currentItem<a?"next":"prev",n.flexAnimate(a,n.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){n.manualControls?f.controlNav.setupManual():f.controlNav.setupPaging()},setupPaging:function(){var e="thumbnails"===n.vars.controlNav?"control-thumbs":"control-paging",t=1,a,s;if(n.controlNavScaffold=$('<ol class="'+i+"control-nav "+i+e+'"></ol>'),n.pagingCount>1)for(var r=0;r<n.pagingCount;r++){s=n.slides.eq(r),void 0===s.attr("data-thumb-alt")&&s.attr("data-thumb-alt","");var c=""!==s.attr("data-thumb-alt")?c=' alt="'+s.attr("data-thumb-alt")+'"':"";if(a="thumbnails"===n.vars.controlNav?'<img src="'+s.attr("data-thumb")+'"'+c+"/>":'<a href="#">'+t+"</a>","thumbnails"===n.vars.controlNav&&!0===n.vars.thumbCaptions){var d=s.attr("data-thumbcaption");""!==d&&void 0!==d&&(a+='<span class="'+i+'caption">'+d+"</span>")}n.controlNavScaffold.append("<li>"+a+"</li>"),t++}n.controlsContainer?$(n.controlsContainer).append(n.controlNavScaffold):n.append(n.controlNavScaffold),f.controlNav.set(),f.controlNav.active(),n.controlNavScaffold.delegate("a, img",o,function(e){if(e.preventDefault(),""===l||l===e.type){var t=$(this),a=n.controlNav.index(t);t.hasClass(i+"active")||(n.direction=a>n.currentSlide?"next":"prev",n.flexAnimate(a,n.vars.pauseOnAction))}""===l&&(l=e.type),f.setToClearWatchedEvent()})},setupManual:function(){n.controlNav=n.manualControls,f.controlNav.active(),n.controlNav.bind(o,function(e){if(e.preventDefault(),""===l||l===e.type){var t=$(this),a=n.controlNav.index(t);t.hasClass(i+"active")||(a>n.currentSlide?n.direction="next":n.direction="prev",n.flexAnimate(a,n.vars.pauseOnAction))}""===l&&(l=e.type),f.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===n.vars.controlNav?"img":"a";n.controlNav=$("."+i+"control-nav li "+e,n.controlsContainer?n.controlsContainer:n)},active:function(){n.controlNav.removeClass(i+"active").eq(n.animatingTo).addClass(i+"active")},update:function(e,t){n.pagingCount>1&&"add"===e?n.controlNavScaffold.append($('<li><a href="#">'+n.count+"</a></li>")):1===n.pagingCount?n.controlNavScaffold.find("li").remove():n.controlNav.eq(t).closest("li").remove(),f.controlNav.set(),n.pagingCount>1&&n.pagingCount!==n.controlNav.length?n.update(t,e):f.controlNav.active()}},directionNav:{setup:function(){var e=$('<ul class="'+i+'direction-nav"><li class="'+i+'nav-prev"><a class="'+i+'prev" href="#">'+n.vars.prevText+'</a></li><li class="'+i+'nav-next"><a class="'+i+'next" href="#">'+n.vars.nextText+"</a></li></ul>");n.customDirectionNav?n.directionNav=n.customDirectionNav:n.controlsContainer?($(n.controlsContainer).append(e),n.directionNav=$("."+i+"direction-nav li a",n.controlsContainer)):(n.append(e),n.directionNav=$("."+i+"direction-nav li a",n)),f.directionNav.update(),n.directionNav.bind(o,function(e){e.preventDefault();var t;""!==l&&l!==e.type||(t=$(this).hasClass(i+"next")?n.getTarget("next"):n.getTarget("prev"),n.flexAnimate(t,n.vars.pauseOnAction)),""===l&&(l=e.type),f.setToClearWatchedEvent()})},update:function(){var e=i+"disabled";1===n.pagingCount?n.directionNav.addClass(e).attr("tabindex","-1"):n.vars.animationLoop?n.directionNav.removeClass(e).removeAttr("tabindex"):0===n.animatingTo?n.directionNav.removeClass(e).filter("."+i+"prev").addClass(e).attr("tabindex","-1"):n.animatingTo===n.last?n.directionNav.removeClass(e).filter("."+i+"next").addClass(e).attr("tabindex","-1"):n.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=$('<div class="'+i+'pauseplay"><a href="#"></a></div>');n.controlsContainer?(n.controlsContainer.append(e),n.pausePlay=$("."+i+"pauseplay a",n.controlsContainer)):(n.append(e),n.pausePlay=$("."+i+"pauseplay a",n)),f.pausePlay.update(n.vars.slideshow?i+"pause":i+"play"),n.pausePlay.bind(o,function(e){e.preventDefault(),""!==l&&l!==e.type||($(this).hasClass(i+"pause")?(n.manualPause=!0,n.manualPlay=!1,n.pause()):(n.manualPause=!1,n.manualPlay=!0,n.play())),""===l&&(l=e.type),f.setToClearWatchedEvent()})},update:function(e){"play"===e?n.pausePlay.removeClass(i+"pause").addClass(i+"play").html(n.vars.playText):n.pausePlay.removeClass(i+"play").addClass(i+"pause").html(n.vars.pauseText)}},touch:function(){function e(e){e.stopPropagation(),n.animating?e.preventDefault():(n.pause(),t._gesture.addPointer(e.pointerId),T=0,c=d?n.h:n.w,f=Number(new Date),l=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*c:(n.currentSlide+n.cloneOffset)*c)}function a(e){e.stopPropagation();var a=e.target._slider;if(a){var n=-e.translationX,i=-e.translationY;return T+=d?i:n,m=T,y=d?Math.abs(T)<Math.abs(-n):Math.abs(T)<Math.abs(-i),e.detail===e.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){t._gesture.stop()}):void((!y||Number(new Date)-f>500)&&(e.preventDefault(),!p&&a.transitions&&(a.vars.animationLoop||(m=T/(0===a.currentSlide&&0>T||a.currentSlide===a.last&&T>0?Math.abs(T)/c+2:1)),a.setProps(l+m,"setTouch"))))}}function i(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!y&&null!==m){var a=u?-m:m,n=a>0?t.getTarget("next"):t.getTarget("prev");t.canAdvance(n)&&(Number(new Date)-f<550&&Math.abs(a)>50||Math.abs(a)>c/2)?t.flexAnimate(n,t.vars.pauseOnAction):p||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)}r=null,o=null,m=null,l=null,T=0}}var r,o,l,c,m,f,g,h,S,y=!1,x=0,b=0,T=0;s?(t.style.msTouchAction="none",t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",e,!1),t._slider=n,t.addEventListener("MSGestureChange",a,!1),t.addEventListener("MSGestureEnd",i,!1)):(g=function(e){n.animating?e.preventDefault():(window.navigator.msPointerEnabled||1===e.touches.length)&&(n.pause(),c=d?n.h:n.w,f=Number(new Date),x=e.touches[0].pageX,b=e.touches[0].pageY,l=v&&u&&n.animatingTo===n.last?0:v&&u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:v&&n.currentSlide===n.last?n.limit:v?(n.itemW+n.vars.itemMargin)*n.move*n.currentSlide:u?(n.last-n.currentSlide+n.cloneOffset)*c:(n.currentSlide+n.cloneOffset)*c,r=d?b:x,o=d?x:b,t.addEventListener("touchmove",h,!1),t.addEventListener("touchend",S,!1))},h=function(e){x=e.touches[0].pageX,b=e.touches[0].pageY,m=d?r-b:r-x,y=d?Math.abs(m)<Math.abs(x-o):Math.abs(m)<Math.abs(b-o);var t=500;(!y||Number(new Date)-f>t)&&(e.preventDefault(),!p&&n.transitions&&(n.vars.animationLoop||(m/=0===n.currentSlide&&0>m||n.currentSlide===n.last&&m>0?Math.abs(m)/c+2:1),n.setProps(l+m,"setTouch")))},S=function(e){if(t.removeEventListener("touchmove",h,!1),n.animatingTo===n.currentSlide&&!y&&null!==m){var a=u?-m:m,i=a>0?n.getTarget("next"):n.getTarget("prev");n.canAdvance(i)&&(Number(new Date)-f<550&&Math.abs(a)>50||Math.abs(a)>c/2)?n.flexAnimate(i,n.vars.pauseOnAction):p||n.flexAnimate(n.currentSlide,n.vars.pauseOnAction,!0)}t.removeEventListener("touchend",S,!1),r=null,o=null,m=null,l=null},t.addEventListener("touchstart",g,!1))},resize:function(){!n.animating&&n.is(":visible")&&(v||n.doMath(),p?f.smoothHeight():v?(n.slides.width(n.computedW),n.update(n.pagingCount),n.setProps()):d?(n.viewport.height(n.h),n.setProps(n.h,"setTotal")):(n.vars.smoothHeight&&f.smoothHeight(),n.newSlides.width(n.computedW),n.setProps(n.computedW,"setTotal")))},smoothHeight:function(e){if(!d||p){var t=p?n:n.viewport;e?t.animate({height:n.slides.eq(n.animatingTo).innerHeight()},e):t.innerHeight(n.slides.eq(n.animatingTo).innerHeight())}},sync:function(e){var t=$(n.vars.sync).data("flexslider"),a=n.animatingTo;switch(e){case"animate":t.flexAnimate(a,n.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=$(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=f.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){f.pauseInvisible.isHidden()?n.startTimeout?clearTimeout(n.startTimeout):n.pause():n.started?n.play():n.vars.initDelay>0?setTimeout(n.play,n.vars.initDelay):n.play()})}},isHidden:function(){var e=f.pauseInvisible.getHiddenProp();return e?document[e]:!1},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(c),c=setTimeout(function(){l=""},3e3)}},n.flexAnimate=function(e,t,a,s,o){if(n.vars.animationLoop||e===n.currentSlide||(n.direction=e>n.currentSlide?"next":"prev"),m&&1===n.pagingCount&&(n.direction=n.currentItem<e?"next":"prev"),!n.animating&&(n.canAdvance(e,o)||a)&&n.is(":visible")){if(m&&s){var l=$(n.vars.asNavFor).data("flexslider");if(n.atEnd=0===e||e===n.count-1,l.flexAnimate(e,!0,!1,!0,o),n.direction=n.currentItem<e?"next":"prev",l.direction=n.direction,Math.ceil((e+1)/n.visible)-1===n.currentSlide||0===e)return n.currentItem=e,n.slides.removeClass(i+"active-slide").eq(e).addClass(i+"active-slide"),!1;n.currentItem=e,n.slides.removeClass(i+"active-slide").eq(e).addClass(i+"active-slide"),e=Math.floor(e/n.visible)}if(n.animating=!0,n.animatingTo=e,t&&n.pause(),n.vars.before(n),n.syncExists&&!o&&f.sync("animate"),n.vars.controlNav&&f.controlNav.active(),v||n.slides.removeClass(i+"active-slide").eq(e).addClass(i+"active-slide"),n.atEnd=0===e||e===n.last,n.vars.directionNav&&f.directionNav.update(),e===n.last&&(n.vars.end(n),n.vars.animationLoop||n.pause()),p)r?(n.slides.eq(n.currentSlide).css({opacity:0,zIndex:1}),n.slides.eq(e).css({opacity:1,zIndex:2}),n.wrapup(c)):(n.slides.eq(n.currentSlide).css({zIndex:1}).animate({opacity:0},n.vars.animationSpeed,n.vars.easing),n.slides.eq(e).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing,n.wrapup));else{var c=d?n.slides.filter(":first").height():n.computedW,g,h,S;v?(g=n.vars.itemMargin,S=(n.itemW+g)*n.move*n.animatingTo,h=S>n.limit&&1!==n.visible?n.limit:S):h=0===n.currentSlide&&e===n.count-1&&n.vars.animationLoop&&"next"!==n.direction?u?(n.count+n.cloneOffset)*c:0:n.currentSlide===n.last&&0===e&&n.vars.animationLoop&&"prev"!==n.direction?u?0:(n.count+1)*c:u?(n.count-1-e+n.cloneOffset)*c:(e+n.cloneOffset)*c,n.setProps(h,"",n.vars.animationSpeed),n.transitions?(n.vars.animationLoop&&n.atEnd||(n.animating=!1,n.currentSlide=n.animatingTo),n.container.unbind("webkitTransitionEnd transitionend"),n.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(n.ensureAnimationEnd),n.wrapup(c)}),clearTimeout(n.ensureAnimationEnd),n.ensureAnimationEnd=setTimeout(function(){n.wrapup(c)},n.vars.animationSpeed+100)):n.container.animate(n.args,n.vars.animationSpeed,n.vars.easing,function(){n.wrapup(c)})}n.vars.smoothHeight&&f.smoothHeight(n.vars.animationSpeed)}},n.wrapup=function(e){p||v||(0===n.currentSlide&&n.animatingTo===n.last&&n.vars.animationLoop?n.setProps(e,"jumpEnd"):n.currentSlide===n.last&&0===n.animatingTo&&n.vars.animationLoop&&n.setProps(e,"jumpStart")),n.animating=!1,n.currentSlide=n.animatingTo,n.vars.after(n)},n.animateSlides=function(){!n.animating&&e&&n.flexAnimate(n.getTarget("next"))},n.pause=function(){clearInterval(n.animatedSlides),n.animatedSlides=null,n.playing=!1,n.vars.pausePlay&&f.pausePlay.update("play"),n.syncExists&&f.sync("pause")},n.play=function(){n.playing&&clearInterval(n.animatedSlides),n.animatedSlides=n.animatedSlides||setInterval(n.animateSlides,n.vars.slideshowSpeed),n.started=n.playing=!0,n.vars.pausePlay&&f.pausePlay.update("pause"),n.syncExists&&f.sync("play")},n.stop=function(){n.pause(),n.stopped=!0},n.canAdvance=function(e,t){var a=m?n.pagingCount-1:n.last;return t?!0:m&&n.currentItem===n.count-1&&0===e&&"prev"===n.direction?!0:m&&0===n.currentItem&&e===n.pagingCount-1&&"next"!==n.direction?!1:e!==n.currentSlide||m?n.vars.animationLoop?!0:n.atEnd&&0===n.currentSlide&&e===a&&"next"!==n.direction?!1:!n.atEnd||n.currentSlide!==a||0!==e||"next"!==n.direction:!1},n.getTarget=function(e){return n.direction=e,"next"===e?n.currentSlide===n.last?0:n.currentSlide+1:0===n.currentSlide?n.last:n.currentSlide-1},n.setProps=function(e,t,a){var i=function(){var a=e?e:(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo,i=function(){if(v)return"setTouch"===t?e:u&&n.animatingTo===n.last?0:u?n.limit-(n.itemW+n.vars.itemMargin)*n.move*n.animatingTo:n.animatingTo===n.last?n.limit:a;switch(t){case"setTotal":return u?(n.count-1-n.currentSlide+n.cloneOffset)*e:(n.currentSlide+n.cloneOffset)*e;case"setTouch":return u?e:e;case"jumpEnd":return u?e:n.count*e;case"jumpStart":return u?n.count*e:e;default:return e}}();return-1*i+"px"}();n.transitions&&(i=d?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",a=void 0!==a?a/1e3+"s":"0s",n.container.css("-"+n.pfx+"-transition-duration",a),n.container.css("transition-duration",a)),n.args[n.prop]=i,(n.transitions||void 0===a)&&n.container.css(n.args),n.container.css("transform",i)},n.setup=function(e){if(p)n.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===e&&(r?n.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+n.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(n.currentSlide).css({opacity:1,zIndex:2}):0==n.vars.fadeFirstSlide?n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).css({opacity:1}):n.slides.css({opacity:0,display:"block",zIndex:1}).eq(n.currentSlide).css({zIndex:2}).animate({opacity:1},n.vars.animationSpeed,n.vars.easing)),n.vars.smoothHeight&&f.smoothHeight();else{var t,a;"init"===e&&(n.viewport=$('<div class="'+i+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(n).append(n.container),n.cloneCount=0,n.cloneOffset=0,u&&(a=$.makeArray(n.slides).reverse(),n.slides=$(a),n.container.empty().append(n.slides))),n.vars.animationLoop&&!v&&(n.cloneCount=2,n.cloneOffset=1,"init"!==e&&n.container.find(".clone").remove(),n.container.append(f.uniqueID(n.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(f.uniqueID(n.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),n.newSlides=$(n.vars.selector,n),t=u?n.count-1-n.currentSlide+n.cloneOffset:n.currentSlide+n.cloneOffset,d&&!v?(n.container.height(200*(n.count+n.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){n.newSlides.css({display:"block"}),n.doMath(),n.viewport.height(n.h),n.setProps(t*n.h,"init")},"init"===e?100:0)):(n.container.width(200*(n.count+n.cloneCount)+"%"),n.setProps(t*n.computedW,"init"),setTimeout(function(){n.doMath(),n.newSlides.css({width:n.computedW,marginRight:n.computedM,"float":"left",display:"block"}),n.vars.smoothHeight&&f.smoothHeight()},"init"===e?100:0))}v||n.slides.removeClass(i+"active-slide").eq(n.currentSlide).addClass(i+"active-slide"),n.vars.init(n)},n.doMath=function(){var e=n.slides.first(),t=n.vars.itemMargin,a=n.vars.minItems,i=n.vars.maxItems;n.w=void 0===n.viewport?n.width():n.viewport.width(),n.h=e.height(),n.boxPadding=e.outerWidth()-e.width(),v?(n.itemT=n.vars.itemWidth+t,n.itemM=t,n.minW=a?a*n.itemT:n.w,n.maxW=i?i*n.itemT-t:n.w,n.itemW=n.minW>n.w?(n.w-t*(a-1))/a:n.maxW<n.w?(n.w-t*(i-1))/i:n.vars.itemWidth>n.w?n.w:n.vars.itemWidth,n.visible=Math.floor(n.w/n.itemW),n.move=n.vars.move>0&&n.vars.move<n.visible?n.vars.move:n.visible,n.pagingCount=Math.ceil((n.count-n.visible)/n.move+1),n.last=n.pagingCount-1,n.limit=1===n.pagingCount?0:n.vars.itemWidth>n.w?n.itemW*(n.count-1)+t*(n.count-1):(n.itemW+t)*n.count-n.w-t):(n.itemW=n.w,n.itemM=t,n.pagingCount=n.count,n.last=n.count-1),n.computedW=n.itemW-n.boxPadding,n.computedM=n.itemM},n.update=function(e,t){n.doMath(),v||(e<n.currentSlide?n.currentSlide+=1:e<=n.currentSlide&&0!==e&&(n.currentSlide-=1),n.animatingTo=n.currentSlide),n.vars.controlNav&&!n.manualControls&&("add"===t&&!v||n.pagingCount>n.controlNav.length?f.controlNav.update("add"):("remove"===t&&!v||n.pagingCount<n.controlNav.length)&&(v&&n.currentSlide>n.last&&(n.currentSlide-=1,n.animatingTo-=1),f.controlNav.update("remove",n.last))),n.vars.directionNav&&f.directionNav.update()},n.addSlide=function(e,t){var a=$(e);n.count+=1,n.last=n.count-1,d&&u?void 0!==t?n.slides.eq(n.count-t).after(a):n.container.prepend(a):void 0!==t?n.slides.eq(t).before(a):n.container.append(a),n.update(t,"add"),n.slides=$(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.added(n)},n.removeSlide=function(e){var t=isNaN(e)?n.slides.index($(e)):e;n.count-=1,n.last=n.count-1,isNaN(e)?$(e,n.slides).remove():d&&u?n.slides.eq(n.last).remove():n.slides.eq(e).remove(),n.doMath(),n.update(t,"remove"),n.slides=$(n.vars.selector+":not(.clone)",n),n.setup(),n.vars.removed(n)},f.init()},$(window).blur(function(t){e=!1}).focus(function(t){e=!0}),$.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},$.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var t=$(this),a=e.selector?e.selector:".slides > li",n=t.find(a);1===n.length&&e.allowOneSlide===!1||0===n.length?(n.fadeIn(400),e.start&&e.start(t)):void 0===t.data("flexslider")&&new $.flexslider(this,e)});var t=$(this).data("flexslider");switch(e){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof e&&t.flexAnimate(e,!0)}}}(jQuery);
+
/*
+
Template Name: Jeren
+
Author: <a href="https://www.os-templates.com/">OS Templates</a>
+
Author URI: https://www.os-templates.com/
+
Licence: Free to use under our free template licence terms
+
Licence URI: https://www.os-templates.com/template-terms
+
File: Flexslider Configuration Settings
+
*/
+
  
// All configuration settings / properties can be found here: https://github.com/woothemes/FlexSlider/wiki/FlexSlider-Properties
+
this.querySelectorAll("li a").forEach(function(el){
 +
let rt = document.querySelector(":root"),
 +
di = +el.getAttribute("data-item");
  
// Homepage Slider
+
el.addEventListener("blur",function(){
$('.basicslider').flexslider({
+
//var getRt = +window.getComputedStyle(el).getPropertyValue('--rotateTimes');
animation: "slide",
+
//console.log(getRt);
// animationLoop: true,
+
//this.classList.add("current");
pauseOnHover: true,
+
});
controlNav: true,
+
el.addEventListener("focus",function(){
directionNav: false,
+
rt.style.setProperty("--rotateTimes",di);
smoothHeight: true,
+
//this.classList.remove("current");
start: function(slider) {
+
});
$('body').removeClass('loading');
+
el.addEventListener("dblclick",function(){
}
+
rise(this);
});</script>
+
});
 +
el.addEventListener("keyup",function(e){
 +
if (e.keyCode === 13) {
 +
rise(this);
 +
}
 +
});
 +
});
 +
});
 +
</script>
 +
 
 +
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
 +
</div>
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 02:52, 22 July 2018


HTML5+CSS3气泡式图标菜单特效 - 站长素材