Difference between revisions of "Template:AdventCalendar"

From PokéHeroes Wiki
Jump to: navigation, search
Line 11: Line 11:
 
function setca(n) {
 
function setca(n) {
 
   $('#calendar').css("background-image", "url(http://pokeheroes.com/img/christmas/2015/adventcalendar/"+n+".png)");
 
   $('#calendar').css("background-image", "url(http://pokeheroes.com/img/christmas/2015/adventcalendar/"+n+".png)");
 +
 +
 +
    var d = new Date();
 +
    var n = d.getDate()
 +
    document.getElementById("advent"+n+").innerHTML = n+"(Today)";
 
};
 
};
 
     </script>
 
     </script>

Revision as of 22:02, 13 December 2015

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

(today)

20
1
23