Difference between revisions of "Template:AdventCalendar"

From PokéHeroes Wiki
Jump to: navigation, search
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(){

Revision as of 22:10, 13 December 2015

24
12
18
14
7
4
9
22
17
15
13
2
3
6
21
16
8
19
11
5
10
20
1
23