Team:Uppsala/notebook

From 2013.igem.org

(Difference between revisions)
Line 178: Line 178:
         }
         }
      
      
-
                        if(year == date.getFullYear())
+
        if(year == date.getFullYear())
         {
         {
           if(month == date.getMonth()){
           if(month == date.getMonth()){
-
             if(today==i{
+
             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>';
             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{
+
  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{
         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:37, 4 September 2013