8000 GitHub - leohackin/chrony: jQuery Chrony - A Count Down Plugin
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

leohackin/chrony

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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.1.0
@since          2011.10.23
@author         Washington Botelho dos Santos
@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.
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! (:

About

jQuery Chrony - A Count Down Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%
0