Difference between revisions of "Team:Melbourne/Project"

Line 35: Line 35:
  
  
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>
 
</script>
  
Line 90: Line 73:
 
#Oslo {background-color:black;}
 
#Oslo {background-color:black;}
 
#Design {background-color:black;}
 
#Design {background-color:black;}
 +
 +
 +
.main {
 +
padding-top:100px;
 +
}
 
</style>
 
</style>
  
Line 97: Line 85:
 
<body>
 
<body>
  
<img class="mySlides" src="img_snowtops.jpg">
+
<div="main">
<img class="mySlides" src="img_lights.jpg">
+
<img class="mySlides" src="img_mountains.jpg">
+
<img class="mySlides" src="img_forest.jpg">
+
<button class="w3-button w3-display-left" onclick="plusDivs(-1)">&#10094;</button>
+
<button class="w3-button w3-display-right" onclick="plusDivs(+1)">&#10095;</button>
+
 
+
 
+
<br><br><br><br><br>
+
<br><br><br><br><br>
+
  
 
<button class="tablink" onclick="openCity('London', this, '#0D306A')" id="defaultOpen">Project Overview</button>
 
<button class="tablink" onclick="openCity('London', this, '#0D306A')" id="defaultOpen">Project Overview</button>
Line 129: Line 108:
 
<div id="Design" class="tabcontent">
 
<div id="Design" class="tabcontent">
 
<img class="overview_img" src="https://static.igem.org/mediawiki/2018/4/4b/T--Melbourne--project_design.png">
 
<img class="overview_img" src="https://static.igem.org/mediawiki/2018/4/4b/T--Melbourne--project_design.png">
 +
</div>
 +
 
</div>
 
</div>
  

Revision as of 14:37, 17 October 2018