Template:AdventCalendar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
var num = d.getDate() | var num = d.getDate() | ||
document.getElementById("advent"+num).innerHTML = num+"<br><p style='font-size: 13px;'>(today)</p>"; | document.getElementById("advent"+num).innerHTML = num+"<br><p style='font-size: 13px;'>(today)</p>"; | ||
$('#advent'+num).css("background", "black"); | |||
} | } | ||
window.onload = function(){ | window.onload = function(){ |