Happy new year theme for simplecountdown
A theme for simple countdown
Example with theme
Theme should be specified adding a third parameter to autoDisplay method. For use year theme, include simplecountdown-theme-year.js file in your page:
<script type="text/javascript" src="simplecountdown.js"></script><script type="text/javascript" src="simplecountdown-theme-year.js"></script>
Add div container:
<div id="myCountdown"></div>
Add js to load countdown:
<script type="text/javascript"> SimpleCountdown;</script>
Develop your own theme
To develop your own theme you have to call addTheme method with a json object in paramter like describe below:
SimpleCountdown;
Develop your own theme with javascript callback
Since v1.4.0 it is possible to add a javascript callback called after the theme css application. This callback is optional, has no parameter and must be set in second paramter of addTheme function like describe below:
SimpleCountdown;