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