Difference between revisions of "Team:Valencia UPV/Templates:footerUPV"

Line 78: Line 78:
 
<script src="https://2016.igem.org/Team:Valencia_UPV/indexjs?action=raw&ctype=text/javascript"></script>
 
<script src="https://2016.igem.org/Team:Valencia_UPV/indexjs?action=raw&ctype=text/javascript"></script>
  
<script>
 
 
var myIndex = 0;
 
carousel();
 
 
function carousel() {
 
    var i;
 
    var x = document.getElementsByClassName("mySlides");
 
    for (i = 0; i < x.length; i++) {
 
      x[i].style.display = "none";
 
    }
 
    myIndex++;
 
    if (myIndex > x.length) {myIndex = 1}
 
    x[myIndex-1].style.display = "block";
 
    setTimeout(carousel, 2000); // Change image every 2 seconds
 
}
 
</script>
 
  
  
  
 
</html>
 
</html>

Revision as of 18:14, 16 October 2016

Sponsors