Team:Oxford

From 2014.igem.org

(Difference between revisions)
m (Removing superfluous code, and adding a DCMationHide() function to the body. ~josefnpat)
m (Adding some testing data so I can determine what I can use to determine clicking information. ~josefnpat)
Line 217: Line 217:
   document.getElementById('DCMationpopup').style.display = "block";
   document.getElementById('DCMationpopup').style.display = "block";
}
}
-
function DCMationHide() {
+
function DCMationHide(this) {
 +
  console.log(this)
   document.getElementById('DCMationpopup').style.display = "none";
   document.getElementById('DCMationpopup').style.display = "none";
}
}
Line 225: Line 226:
</script>
</script>
     </head>
     </head>
-
     <body onClick="DCMationHide()" >
+
     <body onClick="DCMationHide(this)" >
     <div class="outer">
     <div class="outer">

Revision as of 21:47, 28 August 2014