Difference between revisions of "Team:NYU-AD"

Line 1: Line 1:
 
{{NYU-AD-Header}}
 
{{NYU-AD-Header}}
 
<html>
 
<html>
<script type = "text/javascript">
 
          function displayNextImage() {
 
              x = (x === images.length - 1) ? 0 : x + 1;
 
              document.getElementById("img").src = images[x];
 
          }
 
  
          function displayPreviousImage() {
 
              x = (x <= 0) ? images.length - 1 : x - 1;
 
              document.getElementById("img").src = images[x];
 
          }
 
 
          function startTimer() {
 
              setInterval(displayNextImage, 4000);
 
          }
 
 
          var images = [], x = -1;
 
          images[0] = "https://static.igem.org/mediawiki/2015/a/ab/Team-MIT-Psbanner.jpg";
 
          images[1] = "https://static.igem.org/mediawiki/2015/2/2a/RotateImg2.jpg";
 
          images[2] = "https://static.igem.org/mediawiki/2015/1/17/RotateImg3.jpg";
 
</script>
 
 
<style>
 
<style>
 
.text {
 
.text {
Line 62: Line 43:
 
</style>
 
</style>
  
<div onload = "startTimer()">
+
 
<div class="RotateImg">
+
<img src="https://static.igem.org/mediawiki/2015/1/17/RotateImg3.jpg" alt="" />
+
<h2> <span>Self-sustaining Mosquito Trap </span></h2>
+
</div>
+
<button type="button" onclick="displayPreviousImage()">Previous</button>
+
<button type="button" onclick="displayNextImage()">Next</button>
+
<br><br>
+
 
<p class="subtitle">Page Under Construction!<p>
 
<p class="subtitle">Page Under Construction!<p>
  
</div>
+
 
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 21:49, 16 September 2015

Page Under Construction!