BinaryClock v1.0

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



Details

Author
Adrian Statescu
Current version
v1.0
GitHub
thinkphp/BinaryClock
Downloads
1786
Category
Widgets
Tags
Report
GitHub Issues

Releases


Dependencies

  • core/1.3: *

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;}

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus