Line 684: | Line 684: | ||
<div id="captionh"></div> | <div id="captionh"></div> | ||
</div> | </div> | ||
+ | |||
+ | <div class="slideshow-container"> | ||
+ | <div class="mySlides fade"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/0/03/2017-10-14_19.37.13.jpg" style="width:100%"> | ||
+ | <div class="slidetext"><h2 class="header_title">COLLABORATIONS</h2></div> | ||
+ | </div> | ||
+ | <div class="mySlides fade"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/a/ae/2017-10-17_14.37.13.jpg" style="width:100%"> | ||
+ | <div class="slidetext"><h2 class="header_title">COLLABORATIONS</h2></div> | ||
+ | </div> | ||
+ | <div class="mySlides fade"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/4/43/2017-10-17_14.37.07.jpg" style="width:100%"> | ||
+ | <div class="slidetext"><h2 class="header_title">COLLABORATIONS</h2></div> | ||
+ | </div> | ||
+ | <div class="mySlides fade"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/b/bd/2017-10-14_19.38.08.jpg" style="width:100%"> | ||
+ | <div class="slidetext"><h2 class="header_title">COLLABORATIONS</h2></div> | ||
+ | </div> | ||
+ | <div class="mySlides fade"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/f/ff/2017-10-14_19.37.42.jpg" style="width:100%"> | ||
+ | <div class="slidetext"><h2 class="header_title">COLLABORATIONS</h2></div> | ||
+ | </div> | ||
+ | <div class="mySlides fade"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/7/73/20171027_123215.jpg" style="width:100%"> | ||
+ | <div class="slidetext"><h2 class="header_title">COLLABORATIONS</h2></div> | ||
+ | </div> | ||
+ | <div class="mySlides fade"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/f/fb/20171027_123230.jpg" style="width:100%"> | ||
+ | <div class="slidetext"><h2 class="header_title">COLLABORATIONS</h2></div> | ||
+ | </div> | ||
+ | <div class="mySlides fade"> | ||
+ | <img src="https://static.igem.org/mediawiki/2017/0/06/20171027_123249.jpg" style="width:100%"> | ||
+ | <div class="slidetext"><h2 class="header_title">COLLABORATIONS</h2></div> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | <div style="text-align:center"> | ||
+ | <span class="dot"></span> | ||
+ | <span class="dot"></span> | ||
+ | <span class="dot"></span> | ||
+ | <span class="dot"></span> | ||
+ | <span class="dot"></span> | ||
+ | <span class="dot"></span> | ||
+ | <span class="dot"></span> | ||
+ | <span class="dot"></span> | ||
+ | </div> | ||
+ | |||
+ | <div id="demo">FFFF</div> | ||
+ | <script> | ||
+ | |||
+ | stringPathName = window.location.pathname | ||
+ | switch (stringPathName) { | ||
+ | case "/Team:Groningen/Home": | ||
+ | HTit = "FAGUYIFAIHOFASFAGGOT"; | ||
+ | break; | ||
+ | case "/Team:Groningen": | ||
+ | HTit = "HOMIE ON THE FLAAR"; | ||
+ | break; | ||
+ | case "/Team:Groningen/test": | ||
+ | HTit = "TEST"; | ||
+ | break; | ||
+ | case "": | ||
+ | HTit = "bbbb"; | ||
+ | break; | ||
+ | case "": | ||
+ | HTit = "Susssssnday"; | ||
+ | break; | ||
+ | case "": | ||
+ | HTit = "aaaa"; | ||
+ | break; | ||
+ | |||
+ | } | ||
+ | document.getElementById("demo").innerHTML = HTit; | ||
+ | |||
+ | var slideIndex = Math.floor((Math.random() * 8) + 1); | ||
+ | showSlides(); | ||
+ | |||
+ | function showSlides() { | ||
+ | var i; | ||
+ | var slides = document.getElementsByClassName("mySlides"); | ||
+ | var dots = document.getElementsByClassName("dot"); | ||
+ | for (i = 0; i < slides.length; i++) { | ||
+ | slides[i].style.display = "none"; | ||
+ | } | ||
+ | slideIndex++; | ||
+ | if (slideIndex > slides.length) {slideIndex = 1} | ||
+ | for (i = 0; i < dots.length; i++) { | ||
+ | dots[i].className = dots[i].className.replace(" activeslide", ""); | ||
+ | } | ||
+ | slides[slideIndex-1].style.display = "block"; | ||
+ | dots[slideIndex-1].className += " activeslide"; | ||
+ | setTimeout(showSlides, 6000); // Change image every 6 seconds | ||
+ | } | ||
+ | </script> | ||
Revision as of 12:40, 27 October 2017
FFFF