Template:AdventCalendar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
var n = 3; | var n = 3; | ||
var number = Math.floor(Math.random()*n)+1; | var number = Math.floor(Math.random()*n)+1; | ||
$('#calendar').css("background-image", "url(http://pokeheroes.com/img/christmas/2015/"+number+".png)"); | $('#calendar').css("background-image", "url(http://pokeheroes.com/img/christmas/2015/adventcalendar/"+number+".png)"); | ||
}; | }; | ||
</script> | </script> | ||
Line 10: | Line 10: | ||
.adventcalender { | .adventcalender { | ||
float: left; | float: left; | ||
background: url("http://pokeheroes.com/img/christmas/2015/1.png") no-repeat scroll 0% 0% / 80px 60px transparent; | background: url("http://pokeheroes.com/img/christmas/2015/adventcalendar/1.png") no-repeat scroll 0% 0% / 80px 60px transparent; | ||
width: 331px; | width: 331px; | ||
height: 493px; | height: 493px; |
Revision as of 21:26, 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 |