|
|
1 napja | |
|---|---|---|
| .. | ||
| .gitignore | 1 napja | |
| Gulpfile.js | 1 napja | |
| README.md | 1 napja | |
| example.html | 1 napja | |
| jquery.time-to.js | 1 napja | |
| jquery.time-to.min.js | 1 napja | |
| package.json | 1 napja | |
| timeTo.css | 1 napja | |
jQuery plugin - timer countdown digital clock
http://lexxus.github.io/jq-timeTo/
$('#countdown').timeTo(100, function(){ alert('Countdown finished'); });
$('#countdown').timeTo({ seconds: 100, displayHours: false });
$('#countdown').timeTo(new Date('Dec 10 2013 00:00:00 GMT+0200 (EET)'));
$('#countdown').timeTo({
timeTo: new Date(new Date('Dec 10 2013 00:00:00 GMT+0200 (EET)')),
theme: "black",
displayCaptions: true
});
$('#clock-1').timeTo();
$(<selection>).timeTo([options]);
Whithout options it makes simple digital clock with current system time.
where options can be...
Object with initial settings:
Initial setting for seconds option
$('#clock').timeTo(100)
// is identical to
$('#clock').timeTo({
seconds: 100
});
Initial setting for timeTo option
$('#clock').timeTo(new Date('Dec 10 2013 00:00:00'));
// is identical to
$('#clock').timeTo({
timeTo: new Date('Dec 10 2013 00:00:00')
});
Action for execute. Available: 'start', 'stop', 'reset'.