Jump to content

Can anyone help me with this JS clock ?


n000bie

Recommended Posts

Download the js files, include them in your html file (put this between <head> and </head>:

<script language="javascript" src="coolclock.js"></script>

 

Then put this somewhere in your file:

(between <body> and </body>

<canvas id="c1" class="CoolClock"></canvas>

 

After you get that working, start worrying about skins.

I have done all the stuff but it is still not displaying

 

This is inside head tag

<!--[if IE]><script type="text/javascript" src="excanvas.js"></script><![endif]--> 
        <script type="text/javascript" src="coolclock.js"></script>
        <script type="text/javascript" src="moreskins.js"></script>

 

and inside body

<canvas id="c1" class="CoolClock:classic" width="170" height="170" style="width: 170px; height: 170px; border:1px solid red;"/>

 

I don't see the clock in the browser only a border and when I right click I see View image, save image options. I can't figure out why the clock is not displaying.

 

Anyway thanks for reply...

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.