Team:Calgary/Notebook

From 2009.igem.org

(Difference between revisions)
(WEEKLY UPDATES)
(WEEKLY UPDATES)
Line 13: Line 13:
<html>
<html>
<head>
<head>
 +
<title>Untitled Document</title>
 +
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 +
<meta http-equiv="Content-Style-Type" content="text/css">
 +
<meta http-equiv="Content-Script-Type" content="text/javascript">
 +
<style type="text/css">
 +
<!--
 +
#mydiv{
 +
    background-color: #999999;
 +
    height: 100px;
 +
    width: 100px;
 +
}
 +
-->
 +
</style>
<script type="text/javascript">
<script type="text/javascript">
-
function message()
+
document.onclick=check;
-
{
+
function check(e){
-
alert("This alert box was called with the onload event");
+
var target = (e && e.target) || (event && event.srcElement);
 +
var obj = document.getElementById('mydiv');
 +
if(target!=obj){obj.style.display='none'}
}
}
</script>
</script>
</head>
</head>
-
 
+
<body>
-
<body onload="message()">
+
<div id="mydiv">my div</div>
-
<a href="http://www.w3schools.com" onmouseover="alert('An onMouseOver event');return false"><img src="w3s.gif" alt="W3Schools" /></a>
+
</body>
</body>
</html>
</html>

Revision as of 19:14, 3 June 2009

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

WEEKLY UPDATES


Untitled Document

my div