Team:Calgary/Notebook

From 2009.igem.org

(Difference between revisions)
(WEEKLY UPDATES)
(WEEKLY UPDATES)
Line 11: Line 11:
===WEEKLY UPDATES===
===WEEKLY UPDATES===
----
----
-
<html>
+
<html>  
<head>
<head>
-
<title>Untitled Document</title>
+
<script>
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+
function checkIt()
-
<meta http-equiv="Content-Style-Type" content="text/css">
+
{
-
<meta http-equiv="Content-Script-Type" content="text/javascript">
+
if (document.getElementById('mydiv').onblur==true)
-
<style type="text/css">
+
{
-
<!--
+
document.getElementById('mydiv').style.display='none';
-
#mydiv{
+
-
    background-color: #999999;
+
-
    height: 100px;
+
-
    width: 100px;
+
}
}
-
-->
 
-
</style>
 
-
<script type="text/javascript">
 
-
document.onclick=check;
 
-
function check(e){
 
-
var target = (e && e.target) || (event && event.srcElement);
 
-
var obj = document.getElementById('mydiv');
 
-
if(target!=obj){obj.style.display='none'}
 
}
}
-
</script>
+
 
-
</head>
+
<body>  
-
<body>
+
<div id="mydiv" style="display:block" onfocus=checkIt()>my div</div>  
-
<div id="mydiv">my div</div>
+
</body>  
-
</body>
+
</html>
</html>

Revision as of 19:15, 3 June 2009

Home The Team Calendar The Project Parts Submitted to the Registry Modeling Notebook

WEEKLY UPDATES