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 | + | 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> | </script> | ||
</head> | </head> | ||
- | + | <body> | |
- | <body | + | <div id="mydiv">my div</div> |
- | < | + | |
</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
my div