Skip to content

effer89/setClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

setClock

For those who need a JS clock with the ability to set your own time.

<script src="js/plugin.js"></script>
<script>
	$(document).ready(function() {
		var clock = $('#set-clock');
		
		// init
		clock.setClock();
		
		// after a while, set system time, you can also, pass just the timestamp without Date()
		setTimeout(function(){
			clock.setClock.setTime(new Date(1395965183631));
		},5000);
	});
</script>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published