Team:Oxford

From 2014.igem.org

(Difference between revisions)
Line 290: Line 290:
   }
   }
   function ModellingHide(x) {
   function ModellingHide(x) {
 +
    document.getElementById('Modellingwrap').style.display = "none";
 +
  }
 +
  function Interlab() {
 +
    document.getElementById('Modellingwrap').style.display = "block";
 +
  }
 +
  function InterlabHide(x) {
     document.getElementById('Modellingwrap').style.display = "none";
     document.getElementById('Modellingwrap').style.display = "none";
   }
   }
Line 360: Line 366:
   $("#Modellingwrap").click(function(){
   $("#Modellingwrap").click(function(){
     $("#Modellingpopup").animate({width:'0%', left:'25%', marginTop:'30%'}, "fast");
     $("#Modellingpopup").animate({width:'0%', left:'25%', marginTop:'30%'}, "fast");
 +
  });
 +
  $("#Interlabheading").click(function(){
 +
    $("#Interlabpopup").animate({width:'26%', left:'37%', marginTop:'12.5%'}, "fast");
 +
    $("#Interlabwrap").animate({backgroundColor: 'rgba(0,0,0,0.3)'});
 +
  });
 +
  $("#Interlabwrap").click(function(){
 +
    $("#Interlabpopup").animate({width:'0%', left:'25%', marginTop:'30%'}, "fast");
   });  
   });  
});
});
Line 483: Line 496:
       </div>
       </div>
-
       <div class="Heading" id="interlabheading" style="top: 27.5%; left: 68%; width:6.5%;" onmouseover="Interlabbig(this)" onmouseout=
+
       <div class="Heading" id="interlabheading" style="top: 27.5%; left: 68%; width:6.5%;" onclick="Interlab()" onmouseover="Interlabbig(this)" onmouseout=
       "Interlabnormal(this)" border="0">
       "Interlabnormal(this)" border="0">
         <a href="https://2014.igem.org/Team:Oxford/ouridea"><img src=
         <a href="https://2014.igem.org/Team:Oxford/ouridea"><img src=
Line 586: Line 599:
       </div>
       </div>
 +
  <div id="Interlabwrap" onClick="InterlabHide()"
 +
        style="background-color: rgba(0,0,0,0.1); position: fixed; top:0; left: 0; right: 0; bottom: 0; display:none">
 +
        <div class="Heading" id="Interlabpopup" style=
 +
        "left:25%; width:0%; position:absolute; margin-top:30%;">
 +
          <img src="https://static.igem.org/mediawiki/2014/d/df/OxigemInterlabbg.png" style="width: 100%;">
 +
 +
          <div class="Heading" style="top: 64.5%; left: 15.5%; width:35%;" onmouseover="IDevicesbig(this)" onmouseout=
 +
          "IDevicesnormal(this)" border="0">
 +
            <a href="https://2014.igem.org/Team:Oxford/Parts"><img src=
 +
            "https://static.igem.org/mediawiki/2014/1/11/OxigemIDevices.png" style="width: 100%;"></a>
 +
          </div>
 +
 +
          <div class="Heading" style="top: 26.5%; left: 71.5%; width:14.5%;" onmouseover="IMeasurementbig(this)" onmouseout=
 +
          "IMeasurementnormal(this)" border="0">
 +
            <a href="https://2014.igem.org/Team:Oxford/MedalFulfilment"><img src=
 +
            "https://static.igem.org/mediawiki/2014/6/6d/OxigemIMeasurement.png" style="width: 100%;"></a>
 +
          </div>
 +
 +
          <div class="Heading" style="top: 61.5%; left: 51%; width:31.5%;" onmouseover="IResultsbig(this)" onmouseout=
 +
          "IResultsnnormal(this)" border="0">
 +
            <a href="https://2014.igem.org/Team:Oxford/Results"><img src=
 +
            "https://static.igem.org/mediawiki/2014/3/3a/OxigemIResults.png" style="width: 100%;"></a>
 +
          </div>
 +
        </div>
 +
      </div>
<div style="position:fixed;bottom:2%;left:5%;width:90%;height:7%;background-color:#f5f5f5;border-radius:25px;opacity:0.6;">  
<div style="position:fixed;bottom:2%;left:5%;width:90%;height:7%;background-color:#f5f5f5;border-radius:25px;opacity:0.6;">  

Revision as of 19:17, 17 September 2014