Skip to content

wbotelhos/chrony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Chrony - A Count Down Plugin - http://wbotelhos.com/chrony

jQuery Chrony is a plugin that creates a chronometer.

License

The jQuery Chrony is licensed under The MIT License

Version

@version        0.2.0
@since          2011.10.23
@author         Washington Botelho
@documentation  wbotelhos.com/chrony
@twitter        twitter.com/wbotelhos

Required Files

  • jquery.chrony.min.js

Default values

alert          : { second: 10 } // Attributes color, hour, minute and second to configure the alert.
blink          : false          // Enables the colon blink.
blinkTime      : 130            // Time spent to blink the colon.
finish         : undefined      // Callback function to be executed when the time ends.
decrement      : 1              // Number of seconds used to decrement the time.
displayHours   : true           // Display or not the hours on clock. 
displayMinutes : true           // Display or not the minutes on clock.
displaySeconds : true           // Display or not the seconds on clock.
hour           : 0              // Number of hours initial.
hours          : undefined      // Number of hours initial auto adjusted to max if needed.
minute         : 0              // Number of minutes initial.
minutes        : undefined      // Number of minutes initial auto adjusted to hour if needed.
second         : 0              // Number of seconds initial.
seconds        : undefined      // Number of seconds initial auto adjusted to minute if needed.
text           : undefined      // Time written out in full using the following mask: HH:mm:ss.

Usage with default values

$('#time').chrony({ hour: 1, minute: 2, second: 3 });

<div id="time"></div>

Buy me a coffee

You can do it by PayPal. Thanks! (:

Contributors

Daniel Faria Léo Hackin

About

jQuery Chrony - A Count Down Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published