Team:Uppsala/notebook
From 2013.igem.org
(Difference between revisions)
Line 178: | Line 178: | ||
} | } | ||
- | + | if(year == date.getFullYear()) | |
{ | { | ||
if(month == date.getMonth()){ | if(month == date.getMonth()){ | ||
Line 184: | Line 184: | ||
cal_table = cal_table +'<td id="'+'t'+year+m+i+'" class="cal_today"><input type="submit" onclick="showNotes(year, month, value)" value="'+i+'"></td>'; | 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{ | 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>'; | 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:40, 4 September 2013