Line 752: | Line 752: | ||
<div class="mySlides fade"> | <div class="mySlides fade"> | ||
<img src="https://static.igem.org/mediawiki/2017/0/03/2017-10-14_19.37.13.jpg" style="width:100%"> | <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"> | + | <div class="slidetext"><h2 class="header_title"></h2></div> |
</div> | </div> | ||
<div class="mySlides fade"> | <div class="mySlides fade"> | ||
<img src="https://static.igem.org/mediawiki/2017/a/ae/2017-10-17_14.37.13.jpg" style="width:100%"> | <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"> | + | <div class="slidetext"><h2 class="header_title"></h2></div> |
</div> | </div> | ||
<div class="mySlides fade"> | <div class="mySlides fade"> | ||
<img src="https://static.igem.org/mediawiki/2017/4/43/2017-10-17_14.37.07.jpg" style="width:100%"> | <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"> | + | <div class="slidetext"><h2 class="header_title"></h2></div> |
</div> | </div> | ||
<div class="mySlides fade"> | <div class="mySlides fade"> | ||
<img src="https://static.igem.org/mediawiki/2017/b/bd/2017-10-14_19.38.08.jpg" style="width:100%"> | <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"> | + | <div class="slidetext"><h2 class="header_title"></h2></div> |
</div> | </div> | ||
<div class="mySlides fade"> | <div class="mySlides fade"> | ||
<img src="https://static.igem.org/mediawiki/2017/f/ff/2017-10-14_19.37.42.jpg" style="width:100%"> | <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"> | + | <div class="slidetext"><h2 class="header_title"></h2></div> |
</div> | </div> | ||
<div class="mySlides fade"> | <div class="mySlides fade"> | ||
<img src="https://static.igem.org/mediawiki/2017/7/73/20171027_123215.jpg" style="width:100%"> | <img src="https://static.igem.org/mediawiki/2017/7/73/20171027_123215.jpg" style="width:100%"> | ||
− | <div class="slidetext"><h2 class="header_title"> | + | <div class="slidetext"><h2 class="header_title"></h2></div> |
</div> | </div> | ||
<div class="mySlides fade"> | <div class="mySlides fade"> | ||
<img src="https://static.igem.org/mediawiki/2017/f/fb/20171027_123230.jpg" style="width:100%"> | <img src="https://static.igem.org/mediawiki/2017/f/fb/20171027_123230.jpg" style="width:100%"> | ||
− | <div class="slidetext"><h2 class="header_title"> | + | <div class="slidetext"><h2 class="header_title"></h2></div> |
</div> | </div> | ||
<div class="mySlides fade"> | <div class="mySlides fade"> | ||
<img src="https://static.igem.org/mediawiki/2017/0/06/20171027_123249.jpg" style="width:100%"> | <img src="https://static.igem.org/mediawiki/2017/0/06/20171027_123249.jpg" style="width:100%"> | ||
− | <div class="slidetext"><h2 class="header_title"> | + | <div class="slidetext"><h2 class="header_title"></h2></div> |
</div> | </div> | ||
</div> | </div> | ||
Line 786: | Line 786: | ||
<br> | <br> | ||
− | + | <div style="text-align:center"> | |
<span class="dot"></span> | <span class="dot"></span> | ||
<span class="dot"></span> | <span class="dot"></span> | ||
Line 796: | Line 796: | ||
<span class="dot"></span> | <span class="dot"></span> | ||
</div> | </div> | ||
− | |||
− | |||
<script> | <script> | ||
+ | $( document ).ready(function() { | ||
+ | stringPathName = window.location.pathname | ||
+ | switch (stringPathName) { | ||
+ | case "/Team:Groningen": | ||
+ | HTit = "HOME"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Description": | ||
+ | HTit = "DESCRIPTION"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Model": | ||
+ | HTit = "MODEL"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Design": | ||
+ | HTit = "DESIGN"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Results": | ||
+ | HTit = "RESULTS"; | ||
+ | break; | ||
+ | case "/Team:Groningen/FutureResearch": | ||
+ | HTit = "FUTURE RESEARCH"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Protocols": | ||
+ | HTit = "PROTOCOLS"; | ||
+ | break; | ||
+ | case "/Team:Groningen/InterLab": | ||
+ | HTit = "INTERLAB"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Overview": | ||
+ | HTit = "OVERVIEW"; | ||
+ | break; | ||
+ | case "/Team:Groningen/HP/Silver": | ||
+ | HTit = "HUMAN PRACTICES"; | ||
+ | break; | ||
+ | case "/Team:Groningen/HP/Gold_Integrated": | ||
+ | HTit = "INTEGRATED"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Engagement": | ||
+ | HTit = "ENGAGEMENT"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Applied_Design": | ||
+ | HTit = "APPLIED DESIGN"; | ||
+ | break; | ||
+ | case "/Team:Groningen/FutureOutlook": | ||
+ | HTit = "FUTURE OUTLOOK"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Safety": | ||
+ | HTit = "SAFETY"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Parts": | ||
+ | HTit = "PARTS"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Collaborations": | ||
+ | HTit = "COLLABORATIONS"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Team": | ||
+ | HTit = "TEAM MEMBERS"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Achievements": | ||
+ | HTit = "ACHIEVEMENTS"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Attributions": | ||
+ | HTit = "ATTRIBUTIONS"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Fun": | ||
+ | HTit = "FUN ACTIVITIES"; | ||
+ | break; | ||
+ | case "/Team:Groningen/Sponsors": | ||
+ | HTit = "SPONSORS"; | ||
+ | break; | ||
+ | case "/Team:Groningen/test": | ||
+ | HTit = "Sudazima"; | ||
+ | break; | ||
+ | } | ||
+ | var elements = document.getElementsByClassName("header_title"); | ||
+ | for(var i = 0, length = elements.length; i < length; i++) { | ||
+ | elements[i].innerHTML = HTit; | ||
+ | } | ||
+ | }); | ||
Line 820: | Line 896: | ||
} | } | ||
var slideIndex = Math.floor((Math.random() * 8) + 1); | var slideIndex = Math.floor((Math.random() * 8) + 1); | ||
− | + | showSlides(); | |
</script> | </script> |
Revision as of 13:47, 27 October 2017