Difference between revisions of "Team:BostonU/HomeOne"

(Blanked the page)
 
(318 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{BostonU_we_tryin}}
 
<html>
 
<style>
 
  
#sideMenu, #top_title {display:none;}
 
body {background-color:white; }
 
#content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;}
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
 
 
.one {
 
width:25%;
 
height:250px;
 
display:inline-block;
 
background-image: url("https://static.igem.org/mediawiki/2016/f/f4/T--BostonU--DNA.jpg");
 
background-size:100%;
 
opacity:.3;
 
transition:opacity, 1s;
 
}
 
 
.one:hover {
 
  opacity:1;
 
}
 
 
#forward, #reverse {
 
border-radius:50%;
 
}
 
 
#main {
 
background-image:url("https://static.igem.org/mediawiki/2016/3/35/T--BostonU--Geminisymbol.jpg");
 
background-repeat:no-repeat;
 
background-size:cover;
 
}
 
 
.show {
 
transition:display, 2s;
 
}
 
</style>
 
 
<body>
 
<div style = "opacity:.2; width:7vw; height:7vw; background-color:white; text-align:center; font-size:300%; position:absolute; z-index:100; left: 93%; top:50vh;" id = "forward"><div style = "height:3vw"></div>></div>
 
<div style = "opacity:.2; width:7vw; height:7vw; background-color:white; text-align:center; font-size:300%; position:absolute; top:50vh; z-index:100;" id = "reverse"><div style = "height:3vw"></div><</div>
 
 
<div style = "width:100%; height:97vh; background-color:green;" id = "one" class = "show"></div>
 
<div style = "width:100%; height:97vh; background-color:purple; display:none;" id = "two" class = "show"></div>
 
<div style = "width:100%; height:97vh; background-color:black; display:none;" id = "three" class = "show"></div>
 
<div style = "width:100%; height:97vh; background-color:red; display:none;" id = "four" class = "show"></div>
 
 
<div style = "background-color:black;"><div class = 'one'><p style = "opacity:1.5; text-align:center; color:white; font-size:200%;">Project</p></div><div class = 'one'><p style = "text-align:center; color:white; font-size:200%;">Human Practices</p></div><div class = 'one'><p style = "text-align:center; color:white; font-size:200%;">Team</p></div><div class = 'one'><p style = "text-align:center; color:white; font-size:200%;">Other</p></div>
 
<div style = "background-color:white;">
 
<br><br><br><br><br><br><br>
 
<img src = "https://2016.igem.org/File:T--BostonU--sponge.gif">
 
</div>
 
</body>
 
 
<script type="text/javascript">
 
$(document).ready(
 
    function(){
 
  var n = 2;
 
  $("#forward").click(function () {
 
      n = n+1;
 
      if (n > 5) {
 
      $("#one").css('display', 'block');
 
      $("#two").css('display', 'none');
 
      $("#three").css('display', 'none');
 
      $("#four").css('display', 'none');
 
      n = 2;}     
 
      else if (n == 2) {
 
      $("#one").css('display', 'block');
 
      $("#two").css('display', 'none');
 
      $("#three").css('display', 'none');
 
      $("#four").css('display', 'none'); }
 
      else if (n==3) {
 
      $('#two').css('display', 'block');
 
      $("#one").css('display', 'none');
 
      $("#three").css('display', 'none');
 
      $("#four").css('display', 'none');}
 
      else if (n==4) {
 
      $("#three").css('display', 'block');
 
      $("#one").css('display', 'none');
 
      $("#two").css('display', 'none');
 
      $("#four").css('display', 'none');}
 
      else if (n==5) {
 
      $("#four").css('display', 'block');
 
      $("#one").css('display', 'none');
 
      $("#two").css('display', 'none');
 
      $("#three").css('display', 'none');}
 
        });
 
 
  $("#reverse").click(function () {
 
      n = n-1;
 
      if (n < 2) {
 
      $("#one").css('display', 'none');
 
      $("#two").css('display', 'none');
 
      $("#three").css('display', 'none');
 
      $("#four").css('display', 'block');
 
      n = 5;}
 
      if (n == 2) {
 
      $("#one").css('display', 'block');
 
      $("#two").css('display', 'none');
 
      $("#three").css('display', 'none');
 
      $("#four").css('display', 'none'); }
 
      else if (n==3) {
 
      $("#two").css('display', 'block');
 
      $("#one").css('display', 'none');
 
      $("#three").css('display', 'none');
 
      $("#four").css('display', 'none');}
 
      else if (n==4) {
 
      $("#three").css('display', 'block');
 
      $("#one").css('display', 'none');
 
      $("#two").css('display', 'none');
 
      $("#four").css('display', 'none');}
 
      else {
 
      $("#four").css('display', 'block');
 
      $("#one").css('display', 'none');
 
      $("#two").css('display', 'none');
 
      $("#three").css('display', 'none');}
 
        });
 
 
  });
 
</script>
 
 
</html>
 

Latest revision as of 21:50, 19 October 2016