PDA

View Full Version : Free JavaSccript codes



JavaScriptBank
04-26-2010, 09:16 PM
Free JavaSccript codes

CoolClock - Super nice Javascript Analog Clock

From this super nice JavaScript analog clock, you have more than 20 layouts of analog clock to display the time (http://www.javascriptbank.com/javascript/time/) on your web pages. This JavaScript analog clock has enou... detail (http://www.javascriptbank.com/coolclock-super-nice-javascript-analog-clock.html/en//) at JavaScriptBank.com - 2.000+ free JavaScript codes (http://www.javascriptbank.com/)


http://www.javascriptbank.com/javascript.images/time/coolclock-super-nice-javascript-analog-clock.jpg (http://www.javascriptbank.com/javascript/time/clock-time-date/coolclock-super-nice-javascript-analog-clock/preview/en/)
Demo: JavaScript CoolClock - Super nice Javascript Analog Clock (http://www.javascriptbank.com/coolclock-super-nice-javascript-analog-clock.html/en/)


How to setup

Step 1: Copy & Paste JavaScript code below in your HEAD section
JavaScript

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

Step 2: Copy & Paste HTML code below in your BODY section
HTML

<table align="center">
<tbody><tr><td rowspan="2">
<canvas style="width: 170px; height: 170px;" height="170" width="170" id="c1" class="CoolClock"></canvas>
<br>
<canvas style="width: 170px; height: 170px;" height="170" width="170" id="c2" class="CoolClock:chunkySwiss"></canvas>
<br>
<canvas style="width: 170px; height: 170px;" height="170" width="170" id="c4" class="CoolClock:machine"></canvas>
</td><td>
<canvas style="width: 380px; height: 380px;" height="380" width="380" id="c5" class="CoolClock:fancy:190"></canvas>
</td></tr><tr><td align="center">
<table><tbody><tr>
<td align="center">New York<br><canvas style="width: 60px; height: 60px;" height="60" width="60" id="c6" class="CoolClock:chunkySwiss:30:noSeconds:-4 leftRightPad"></canvas></td>
<td align="center">London<br><canvas style="width: 60px; height: 60px;" height="60" width="60" id="c7" class="CoolClock::30:noSeconds:+1 leftRightPad"></canvas></td>
<td align="center">Townsville<br><canvas style="width: 60px; height: 60px;" height="60" width="60" id="c8" class="CoolClock:fancy:30:noSeconds:+10 leftRightPad"></canvas></td>
</tr></tbody></table>
</td></tr>
</tbody></table>

Step 3: must download files below
Files
coolclock.js (http://www.javascriptbank.com/javascript/time/CoolClock-Super_nice_Javascript_Analog_Clock/coolclock.js)
excanvas.js (http://www.javascriptbank.com/javascript/time/CoolClock-Super_nice_Javascript_Analog_Clock/excanvas.js)
moreskins.js (http://www.javascriptbank.com/javascript/time/CoolClock-Super_nice_Javascript_Analog_Clock/moreskins.js)







JavaScript Spotlight (http://www.javascriptbank.com/spotlight-index.html) - JavaScript Validate E-Mail (http://www.javascriptbank.com/validate-e-mail.html) - AJAX Page Content Loader (http://www.javascriptbank.com/ajax-page-content-loader.html/en/)


The Site may provide, or third parties may provide, links to non-JavaScriptBank.com Internet World Wide Web sites or resources. Because JavaScriptBank.com has no control over such sites and resources, you acknowledge and agree that JavaScriptBank.com is not responsible for the availability of such external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. You further acknowledge and agree that JavaScriptBank.com shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through any such site or resource.