Template:AdventCalendar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
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"); | $('#advent'+num).css("background", "black"); | ||
for(var i = 1; i <= num; i++) { | |||
$('#advent'+i).css("background", "black"); | |||
} | |||
} | } | ||
window.onload = function(){ | window.onload = function(){ |