n000bie Posted April 22, 2010 Share Posted April 22, 2010 Well, I am trying to add this cool clock to my site http://randomibis.com/coolclock/ It looks simple but nomatter what I try I am not able to display it in my page. I am using FF 3.5.9. Can anyone help me please. Thanks Link to comment https://forums.phpfreaks.com/topic/199355-can-anyone-help-me-with-this-js-clock/ Share on other sites More sharing options...
andrewgauger Posted April 22, 2010 Share Posted April 22, 2010 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. Link to comment https://forums.phpfreaks.com/topic/199355-can-anyone-help-me-with-this-js-clock/#findComment-1046271 Share on other sites More sharing options...
n000bie Posted April 22, 2010 Author Share Posted April 22, 2010 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... Link to comment https://forums.phpfreaks.com/topic/199355-can-anyone-help-me-with-this-js-clock/#findComment-1046274 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.