Skip to content

zvedenyuk/endless-countdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Endless countdown

A simple and beautiful endless countdown timer for landing pages. You set the date to countown to once and when the date passes it adds 3 days so that the time is always positive. This script is useful for landing pages to set an offer deadline date.

Demo: http://emdigital.ru/demo/countdown/demo.html

Setup

The script uses jQuery. Include it as well as the script file. Add these lines to the head of your webpage:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="endless-countdown.js"></script>

On the webpage place this html code where you want your countdown timer to show up. Set your first desired date in the date attribute:

<div class="endless_countdown" date="300914">
	<div></div>
	<div></div>
	<span class="endless_countdown_dots_black"></span>
	<div></div>
	<span class="endless_countdown_dots_black"></span>
	<div></div>
</div>

About

A simple endless countdown timer for landing pages

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages