Template:AdventCalendar: Difference between revisions

From PokéHeroes Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<html>
<html>
   <script type="text/javascript">
   <script type="text/javascript">
function date() {
    var d = new Date();
    var num = d.getDate()
    document.getElementById("advent"+num).innerHTML = num+"<br>Today";
}
         window.onload = function(){
         window.onload = function(){
date();
             var n = 3;
             var n = 3;
             var number = Math.floor(Math.random()*n)-1;
             var number = Math.floor(Math.random()*n)-1;
Line 13: Line 19:




    var d = new Date();
    var num = d.getDate()
    document.getElementById("advent"+num).innerHTML = num+"<br>Today";
};
};
     </script>
     </script>

Revision as of 22:06, 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