Difference between revisions of "Team:ETH Zurich/Notebook"

 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{ETH_Zurich}}
 
{{ETH_Zurich}}
 
<html>
 
<html>
<link rel="stylesheet" type="text/css" href="https://2015.igem.org/Team:ETH_Zurich/Notebook/notebook_calendar.css?action=raw&ctype=text/css" />
+
<link rel="stylesheet" type="text/css" href="https://2015.igem.org/Team:ETH_Zurich/Notebook/notebookCalendarCSS?action=raw&ctype=text/css" />
  
<script src="https://2015.igem.org/Template:ETH_Zurich/jquery-ui-min.js?action=raw&ctype=text/javascript"></script>
+
<script src="https://2015.igem.org/Template:ETH_Zurich/jqueryuiminJS?action=raw&ctype=text/javascript"></script>
  
 
<script>
 
<script>
Line 28: Line 28:
 
         maxDate: "18/09/2015",
 
         maxDate: "18/09/2015",
 
         onSelect: function(dateText,inst) {
 
         onSelect: function(dateText,inst) {
             var re = new RegExp([dateText,".*?(?=<\/p>)"].join(""));
+
             var re = new RegExp(dateText + ".*?(?=<\/p>)");
 
             var toShow = notes.match(re);
 
             var toShow = notes.match(re);
             if (toShow == null) {
+
             notePad.innerHTML = (toShow == null) ? dateText+"<br><br><p>We did nothing on this day...yes...absolutely nothing...</p>" : toShow;
                notePad.innerHTML = dateText;
+
            } else {
+
                notePad.innerHTML = toShow;
+
            }
+
 
         }
 
         }
 
     });
 
     });
Line 41: Line 37:
  
  
<div class="expContainer">
+
<div class="expContainer" style=position:relative>
  
  
 
<h1>Notebook</h1>
 
<h1>Notebook</h1>
 +
 +
<!--[if gte IE 9]><!-->
 +
<!--<div class="imgBox">-->
 +
<a href="https://static.igem.org/mediawiki/2015/f/f7/Notebook.svg">
 +
<object class="svg" data="https://static.igem.org/mediawiki/2015/f/f7/Notebook.svg" type="image/svg+xml" width="12%" style="position:absolute;top:100px;right:44%">
 +
</object></a>
 +
<!--</div>-->
 +
<!--<![endif]-->
 +
<!--[if lte IE 8]>
 +
<![endif]-->
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
<p></p>
 +
 +
  
 
<div id="datepicker">
 
<div id="datepicker">
Line 57: Line 81:
 
</div>
 
</div>
 
</html>
 
</html>
 +
{{:Template:ETH_Zurich/footer}}

Latest revision as of 13:43, 13 September 2015

"What I cannot create I do not understand."
- Richard Feynmann

Notebook

Select a day to see what our lab did that day.

We would like to thank our sponsors