Template:Team:KULeuven/Common/CategoryCalendar
From 2009.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
function drawCals() { | function drawCals() { | ||
var data = retrieveDatesHash(); | var data = retrieveDatesHash(); | ||
- | var cals = ""; | + | var cals = "<table>"; |
+ | cals += "<tr>"; | ||
for(var i = 6; i <= 9; i++) { | for(var i = 6; i <= 9; i++) { | ||
- | cals += makeCalendar(i,2009,data); | + | cals += "<td>" + makeCalendar(i,2009,data) + "</td>"; |
} | } | ||
+ | cals += "</tr>"; | ||
+ | cals += "</table>"; | ||
var obj = document.getElementById('CalendarInsertionPoint'); | var obj = document.getElementById('CalendarInsertionPoint'); |
Revision as of 10:34, 12 July 2009
Use this on a category page