Team:Uppsala/notebook
From 2013.igem.org
(Difference between revisions)
Line 178: | Line 178: | ||
} | } | ||
- | + | if(year == date.getFullYear()) | |
{ | { | ||
- | + | if(month == date.getMonth()){ | |
- | + | if(today==i{ | |
- | + | cal_table = cal_table +'<td id="'+'t'+year+m+i+'" class="cal_today"><input type="submit" onclick="showNotes(year, month, value)" value="'+i+'"></td>'; | |
- | + | } | |
- | + | else{ | |
- | + | cal_table = cal_table +'<td id="'+'t'+year+m+i+'" class="not_today"><input type="submit" onclick="showNotes(year, month, value)" value="'+i+'"></td>'; | |
- | + | } | |
- | + | } | |
- | + | else{ | |
- | + | cal_table = cal_table +'<td id="'+'t'+year+m+i+'" class="not_today"><input type="submit" onclick="showNotes(year, month, value)" value="'+i+'"></td>'; | |
- | + | } | |
- | + | ||
} | } | ||
else | else |
Revision as of 11:31, 4 September 2013