Skip to content

thinkphp/BinaryClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BinaryClock

This plugin MooTools provides functionality for displaying simple binary clock on a page.

Screenshot

How to use

First you must to include the JS files in the head of your HTML document:

        #HTML
        <script type="text/javascript" src="mootools.js"></script>
        <script type="text/javascript" src="BinaryClock.js"></script>

In your JS:

       #JS
       window.addEvent('domready',function(){
           new BinaryClock('mycanvas'); 
       });  

In your HTML body:

       #HTML
       <canvas id="mycanvas" height="240" width="320"></canvas>

In your HEAD Style:

       #CSS
       #mycanvas{border: 1px solid #000;}

About

This plugin MooTools provides functionality for displaying simple binary clock on a page.

Resources

Stars

Watchers

Forks

Packages

No packages published