Team:TU Delft/scroll calendar
From 2010.igem.org
(Difference between revisions)
Line 91: | Line 91: | ||
// process each day entry to change the link | // process each day entry to change the link | ||
$("#calview .month").each(function() { | $("#calview .month").each(function() { | ||
- | var month = $.trim( $(". | + | var month = $.trim( $(".month_heading", this).text() ); |
$("a", this).each(function() { | $("a", this).each(function() { | ||
Line 112: | Line 112: | ||
$(this).before('<td class="cal_btn prevmonth_btn"> < </td>') | $(this).before('<td class="cal_btn prevmonth_btn"> < </td>') | ||
.attr('colspan', 5) | .attr('colspan', 5) | ||
+ | .addClass('month_heading') | ||
.after('<td class="cal_btn nextmonth_btn"> > </td>'); | .after('<td class="cal_btn nextmonth_btn"> > </td>'); | ||
}); | }); |
Revision as of 16:02, 15 September 2010
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|