Difference between revisions of "Team:Cologne-Duesseldorf/Kai"

Line 25: Line 25:
 
<button class="btn-right" onclick="plusDivs(1)">&#10095;</button>
 
<button class="btn-right" onclick="plusDivs(1)">&#10095;</button>
 
</div>
 
</div>
</article>
+
<article>
+
 
 +
 
 +
 
 +
<div class="w3-content w3-display-container">
 +
  <img class="mySlides" src="https://static.igem.org/mediawiki/2017/2/23/T--Cologne-Duesseldorf--march_for_science.jpeg">
 +
  <img class="mySlides" src="https://static.igem.org/mediawiki/2017/1/15/T--Cologne-Duesseldorf--March_for_Science_Alina.jpeg"">
 +
  <img class="mySlides" src="https://static.igem.org/mediawiki/2017/0/07/T--Cologne-Duesseldorf--CaroRebecca.jpeg">
 +
  <img class="mySlides" src="https://static.igem.org/mediawiki/2017/b/b2/T--Cologne-Duesseldorf--ReneAlina.jpeg">
 +
  <img class="mySlides" src="https://static.igem.org/mediawiki/2017/1/1a/T--Cologne-Duesseldorf--k1.jpeg">
 +
  <img class="mySlides" src="https://static.igem.org/mediawiki/2017/4/46/T--Cologne-Duesseldorf--m3.jpeg">
 +
  <img class="mySlides" src="ihttps://static.igem.org/mediawiki/2017/e/e6/T--Cologne-Duesseldorf--m1.jpeg">
 +
 
 +
  <button class="w3-button w3-black w3-display-left" onclick="plusDivs(-1)">&#10094;</button>
 +
  <button class="w3-button w3-black w3-display-right" onclick="plusDivs(1)">&#10095;</button>
 +
</div>
 +
 
 +
<script>
 +
var slideIndex = 1;
 +
showDivs(slideIndex);
 +
 
 +
function plusDivs(n) {
 +
  showDivs(slideIndex += n);
 +
}
 +
 
 +
function showDivs(n) {
 +
  var i;
 +
  var x = document.getElementsByClassName("mySlides");
 +
  if (n > x.length) {slideIndex = 1}   
 +
  if (n < 1) {slideIndex = x.length}
 +
  for (i = 0; i < x.length; i++) {
 +
    x[i].style.display = "none"; 
 +
  }
 +
  x[slideIndex-1].style.display = "block"; 
 +
}
 +
</script>
 +
 
 +
 
 
<div class="mySlides">
 
<div class="mySlides">
 
  <img class="slide" src="https://static.igem.org/mediawiki/2017/2/23/T--Cologne-Duesseldorf--march_for_science.jpeg">
 
  <img class="slide" src="https://static.igem.org/mediawiki/2017/2/23/T--Cologne-Duesseldorf--march_for_science.jpeg">

Revision as of 23:45, 1 November 2017

Bla