Template:Team:Uppsala/JS/notebook

From 2013.igem.org

(Difference between revisions)
Line 148: Line 148:
   eventString =  '<div class="eventBox" id="'+'d'+y+m+day+'" onclick="diry('+y+', '+m+', '+day+');"><h1>'+y+'-'+m+'-'+day+'</h1></div>';
   eventString =  '<div class="eventBox" id="'+'d'+y+m+day+'" onclick="diry('+y+', '+m+', '+day+');"><h1>'+y+'-'+m+'-'+day+'</h1></div>';
   document.getElementById('file_holder').innerHTML = eventString;
   document.getElementById('file_holder').innerHTML = eventString;
 +
document.getElementById('calendar').style.marginBottom="350px";
  }
  }
Line 185: Line 186:
     eventString = eventString + '<div class="eventBox" id="'+'d'+y+m+day+'" onclick="diry('+y+', '+m+', '+day+');"><h1>'+y+'-'+m+'-'+day+'</h1></div>';
     eventString = eventString + '<div class="eventBox" id="'+'d'+y+m+day+'" onclick="diry('+y+', '+m+', '+day+');"><h1>'+y+'-'+m+'-'+day+'</h1></div>';
   }
   }
 +
document.getElementById('calendar').style.marginBottom="350px";
   document.getElementById('file_holder').innerHTML = eventString;
   document.getElementById('file_holder').innerHTML = eventString;
   eventString = '';
   eventString = '';

Revision as of 12:07, 4 October 2013