1.0.1 • Published 6 years ago

jquery.time.js v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

JQuery Time

Time is a jQuery plug-in for digital clock live.

###How to get started

HTML Code

<div class="watch"></div>

use a div with a class whatever (in this case I chose watch), and include the latest version of jquery and the plug-in jquery.time.js.

<script src="jquery-1.9.1.js" type="text/javascript"></script>     
<script src="jquery.time.js" type="text/javascript"></script>
 

###jquery.time.js

At this point, to obtain the clock live:

<script type="text/javascript">
     $(document).ready(function(){
     $('.watch').time({font_size:18 , color:'green'}
          );
        });
</script>
1.0.1

6 years ago

1.0.0

6 years ago