Template:Team:Uppsala/JS/notebook

From 2013.igem.org

(Difference between revisions)
Line 605: Line 605:
  else if(id == 'd2013104')
  else if(id == 'd2013104')
  {
  {
-
   ds ='<h1>Wikifreeze!!!</h1>';
+
   ds ='<div id="dairy-text"><h1>Wikifreeze!!!</h1></div>';
  }
  }
  else if(id == 'd20131011')
  else if(id == 'd20131011')
  {
  {
-
   ds ='<h1>Start of European Jamboree in Lyon!</h1>';
+
   ds ='<div id="dairy-text"><h1>Start of European Jamboree in Lyon!</h1></div>';
  }
  }
  else if(id == 'd20131012')
  else if(id == 'd20131012')
  {
  {
-
   ds ='<h1>European Jamboree in Lyon</h1>';
+
   ds ='<div id="dairy-text"><h1>European Jamboree in Lyon</h1></div>';
  }
  }
  else if(id == 'd20131013')
  else if(id == 'd20131013')
  {
  {
-
   ds ='<h1>End of European Jamboree in Lyon</h1>';
+
   ds ='<div id="dairy-text"><h1>End of European Jamboree in Lyon</h1></div>';
-
  }
+
  }  
  else  
  else  
  {
  {
-
   ds = 'Nothing happend during this day!';
+
   ds = 'Nothing happened on this day!';
  }
  }
  document.getElementById(id).setAttribute('onclick','closeNote('+y+', '+m+', '+d+');');
  document.getElementById(id).setAttribute('onclick','closeNote('+y+', '+m+', '+d+');');

Revision as of 19:53, 3 October 2013