Team:Oxford

From 2014.igem.org

(Difference between revisions)
Line 147: Line 147:
     x.style.height="12.5%";
     x.style.height="12.5%";
     x.style.width="12.5%";
     x.style.width="12.5%";
-
     document.getElementById('DCMationblue').style.opacity = "0.8";
+
     document.getElementById('DCMationblue').style.opacity = "1";
   }
   }
   function DCMationnormal(x) {
   function DCMationnormal(x) {
     x.style.height="11%";
     x.style.height="11%";
     x.style.width="11%";
     x.style.width="11%";
-
    document.getElementById('DCMationblue').style.opacity = "0";
 
   }
   }
   function Achievementsbig(x) {
   function Achievementsbig(x) {
     x.style.height="12%";
     x.style.height="12%";
     x.style.width="12%";
     x.style.width="12%";
-
     document.getElementById('achievementsblue').style.opacity = "0.8";
+
     document.getElementById('achievementsblue').style.opacity = "1";
   }
   }
   function Achievementsnormal(x) {
   function Achievementsnormal(x) {
Line 167: Line 166:
     x.style.height="9%";
     x.style.height="9%";
     x.style.width="9%";
     x.style.width="9%";
-
     document.getElementById('Modellingblue').style.opacity = "0.8";
+
     document.getElementById('Modellingblue').style.opacity = "1";
   }
   }
   function Modellingnormal(x) {
   function Modellingnormal(x) {
Line 177: Line 176:
     x.style.height="7.9%";
     x.style.height="7.9%";
     x.style.width="7.9%";
     x.style.width="7.9%";
-
     document.getElementById('Policyblue').style.opacity = "0.8";
+
     document.getElementById('Policyblue').style.opacity = "1";
   }
   }
   function Policynormal(x) {
   function Policynormal(x) {
Line 187: Line 186:
     x.style.height="9.4%";
     x.style.height="9.4%";
     x.style.width="9.4%";
     x.style.width="9.4%";
-
     document.getElementById('iGEMcommblue').style.opacity = "0.8";
+
     document.getElementById('iGEMcommblue').style.opacity = "1";
   }
   }
   function iGEMcommnormal(x) {
   function iGEMcommnormal(x) {
Line 197: Line 196:
     x.style.height="7%";
     x.style.height="7%";
     x.style.width="7%";
     x.style.width="7%";
-
     document.getElementById('interlabblue').style.opacity = "0.8";
+
     document.getElementById('interlabblue').style.opacity = "1";
   }
   }
   function Interlabnormal(x) {
   function Interlabnormal(x) {
Line 207: Line 206:
     x.style.height="5.6%";
     x.style.height="5.6%";
     x.style.width="5.6%";
     x.style.width="5.6%";
-
     document.getElementById('Safetyblue').style.opacity = "0.8";
+
     document.getElementById('Safetyblue').style.opacity = "1";
   }
   }
   function Safetynormal(x) {
   function Safetynormal(x) {
Line 217: Line 216:
     x.style.height="4.8%";
     x.style.height="4.8%";
     x.style.width="4.8%";
     x.style.width="4.8%";
-
     document.getElementById('Teamblue').style.opacity = "0.8";
+
     document.getElementById('Teamblue').style.opacity = "1";
   }
   }
   function Teamnormal(x) {
   function Teamnormal(x) {
Line 246: Line 245:
$(document).ready(function(){
$(document).ready(function(){
 +
  $("#DCMationheading").mouseleave(function(){
 +
    $("#DCMationblue").animate({opacity:'0'});
 +
  });
   $("#arrowr").click(function(){
   $("#arrowr").click(function(){
     $("#grey").animate({right:'-13%'}, "fast");
     $("#grey").animate({right:'-13%'}, "fast");
Line 362: Line 364:
     </div>
     </div>
-
       <div class="Heading" style="top: 72%; left: 35.5%; width:11%;" onclick="DCMation()" onmouseover=
+
       <div class="Heading" id="DCMationheading" style="top: 72%; left: 35.5%; width:11%;" onclick="DCMation()" onmouseover=
       "DCMationbig(this)" onmouseout="DCMationnormal(this)" border="0"><a href="#"><img src=
       "DCMationbig(this)" onmouseout="DCMationnormal(this)" border="0"><a href="#"><img src=
       "https://static.igem.org/mediawiki/2014/2/22/OxigemDCMationheading.png" style="width: 100%;" ></a>
       "https://static.igem.org/mediawiki/2014/2/22/OxigemDCMationheading.png" style="width: 100%;" ></a>

Revision as of 01:43, 8 September 2014