Last active
April 4, 2017 15:52
-
-
Save VincentLoy/a0cd8a5b3966104eaecabb1dbb458346 to your computer and use it in GitHub Desktop.
simplyCountdown example - http://vincentloy.github.io/simplyCountdown.js/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title>simplyCountdown.js example</title> | |
<link rel="stylesheet" href="css/simplyCountdown.theme.default.css"/> | |
</head> | |
<body> | |
<section class="examples"> | |
<div class="simply-countdown-example"></div> | |
</section> | |
<!-- Load the script here --> | |
<script src="dev/simplyCountdown.js"></script> | |
<script> | |
/** | |
* initialization example. | |
* You need to call the simplyCountdown function and give it two parameters: | |
* 1 - the CSS selector of the countdown container | |
* 2 - the plugin params as described in documentation here http://vincentloy.github.io/simplyCountdown.js/ | |
* Example: Init countdown until this date : 04/11/2017 at 10am (4th November 2017 10:00) | |
*/ | |
simplyCountdown('.simply-countdown-example', { | |
year: 2017, | |
month: 11, | |
day: 4, | |
hour: 10 | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment