Team:Uppsala/Project Notebook
From 2014.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
document.getElementById("tab2").innerHTML = '<p>hello</p>'; | document.getElementById("tab2").innerHTML = '<p>hello</p>'; | ||
- | document.getElementById("tab4").innerHTML = '<table id="calendar"><tr><td><a href="#" id = "week_incr" onclick="return false;"> < </a></td><td id="calendar_week"></td><td><a href="#" id="week_decr" onclick="return false;"> > </a></td></tr></table><table><tr><td id= | + | var calendar_day = [1,2,3,4,5,6,7]; |
+ | |||
+ | document.getElementById("tab4").innerHTML = '<table id="calendar"><tr><td><a href="#" id = "week_incr" onclick="return false;"> < </a></td><td id="calendar_week"></td><td><a href="#" id="week_decr" onclick="return false;"> > </a></td></tr></table><table><tr><td id=calendar_day[0]>1</td><td id=calendar_day[1]>2</td><td id="calendar_day3">3</td><td id="calendar_day4">4</td><td id="calendar_day5">5</td><td id="calendar_day6">6</td><td id="calendar_day7">7</td></tr></table>'; | ||
</script> | </script> | ||
Line 15: | Line 17: | ||
var calendar_week_var = 1; | var calendar_week_var = 1; | ||
var total_weeks = 15; | var total_weeks = 15; | ||
- | var calendar_dates_array = ["June 9th - June 15th", "June 16th - June 22nd", "June 23rd - June 29th", "June 30th - July 6th", "July 7th - July 13th", "July 14th - July 20th", "July 21th - July 27th", "July 28th - August 3rd", "August 4th - August 10th", "August 11th - August 17th", "August 18th - August 24th", "August 25th - August 31st"]; | + | /*var calendar_dates_array = ["June 9th - June 15th", "June 16th - June 22nd", "June 23rd - June 29th", "June 30th - July 6th", "July 7th - July 13th", "July 14th - July 20th", "July 21th - July 27th", "July 28th - August 3rd", "August 4th - August 10th", "August 11th - August 17th", "August 18th - August 24th", "August 25th - August 31st"];*/ |
+ | var calendar_dates_array = ["June 9th", "June 10th", "June 11th", "June 12th", "June 13th", "June 14th", "June 15th"]; | ||
document.getElementById("calendar_week").innerHTML = "week " + calendar_week_var; | document.getElementById("calendar_week").innerHTML = "week " + calendar_week_var; | ||
+ | for(i = 0; i < 2; i++) { | ||
+ | document.getElementById(calendar_day[i]).innerHTML = "hej"; | ||
+ | } | ||
</script> | </script> | ||
</html> | </html> | ||
{{:Team:Uppsala/Templates/bottom_template}} | {{:Team:Uppsala/Templates/bottom_template}} |
Revision as of 15:58, 29 August 2014
Stephanie Herman
Teresa Reinli
Joakim Hellner
Alexander Virtanen
Jennifer Rosenius
Marcus Hong
Miranda Stiernborg
Tim Hagelby Edström
Viktor Blomkvist
Megha Biradar
Niklas Handin
Jonas Mattisson
Arina Gromov
Nils Anlind
Eric Sandström
Gunta Celma
Oliver Possnert
Martin Friberg
Kira Karlsson
Christoffer Andersson
Laura Pacoste
Andries Willem Boers
Home
Failed to load tracking. JS is probably not enabled