Team:Uppsala/notebook
From 2013.igem.org
(Difference between revisions)
Line 121: | Line 121: | ||
var eventString; | var eventString; | ||
var days_in_month = new Array(31,28,31,30,31,30,31,31,30,31,30,31); | var days_in_month = new Array(31,28,31,30,31,30,31,31,30,31,30,31); | ||
- | var days_with_dirys = new Array('t201381'); | + | var days_with_dirys = new Array('t2013630','t201371','t201381'); |
- | var inputs = | + | var inputs = 3; |
Date.prototype.getWeek = function() | Date.prototype.getWeek = function() | ||
Line 320: | Line 320: | ||
var id = 'd'+y+m+d; | var id = 'd'+y+m+d; | ||
//var ds = y+'-'+m+'-'+d; | //var ds = y+'-'+m+'-'+d; | ||
- | if(id == 'd201381') | + | if(id == 'd2013630') |
+ | { | ||
+ | ds= '<p>hej</p>'; | ||
+ | } | ||
+ | else if(id == 'd201371') | ||
+ | { | ||
+ | ds ='<p>på dig</p>'; | ||
+ | } | ||
+ | else if(id == 'd201381') | ||
{ | { | ||
ds = '<h2>Thursday 2013-08-01</h2><p>Name of participants: Marcus H, Karl H, Lovisa P, Emil M, Victor S, Hampus.E<br><br><h3>Ongoing constructs:</h3><br>' + | ds = '<h2>Thursday 2013-08-01</h2><p>Name of participants: Marcus H, Karl H, Lovisa P, Emil M, Victor S, Hampus.E<br><br><h3>Ongoing constructs:</h3><br>' + | ||
Line 355: | Line 363: | ||
document.getElementById(id).innerHTML = ds; | document.getElementById(id).innerHTML = ds; | ||
} | } | ||
+ | |||
</script> | </script> |
Revision as of 18:28, 9 September 2013