Skip to content

felipecslima/jquery-chron

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chron jQuery Plugin

Chron is jQuery plugin to create chronometers in your html pages.

Usage

Include the plugin script

<script type="text/javascript" src="jquery-chron.js"></script>
$("#chron1").Chron();

or to customize properties

$("#chron2").Chron({
	days			: 1,//initial value for days
	hours			: 2,//initial value for hours
	minutes			: 20,//initial value for minutes
	seconds			: 45,//initial value for seconds
	days_sel		: "#days2",//days selector
	hours_sel		: "#hours2",//hours selector
	minutes_sel		: "#minutes2",//minutes selector
	seconds_sel		: "#seconds2",//seconds selector
	start			: "#start2",// start button selector
	stop			: "#stop2",// stop button selector
	reset			: "#reset2",// reset button selector
	pause			: "#pause2",// resume button selector
	resume			: "#resume2",// resume button selector
	start_chron		: start_chron,//this function will be executed before start chron
	stop_chron		: stop_chron,//this function will be executed before stop chron
	reset_chron		: reset_chron,//this function will be executed before reset chron
	pause_chron		: pause_chron,//this function will be executed before pause chron
	resume_chron	: resume_chron,//this function will be executed before resume chron
	target			: "*", //selectors for the events target
	auto			: true,//true if plugin generate html chronometer
});

About

Chron is jQuery plugin to create chronometers in your html pages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy