I have seen many beautiful clocks using images and and canvas and flash. So I thought of developing one with pure HTML,CSS3 and javascript, no images at all. This clock can be completely design using CSS.
A brief description of Javascript used:-
'AnalogClock' is the name of the class which creates a clock. You can simply create as many instance of the clock on page (keeping in mind the performance).
This how you can create a clock:-
1. Include all the css in the page
2. Then create a container for the clock on page
<div id="aclock"></div>
3. Create an instance of 'AnalogClock' in javascript
new AnalogClock({parentId: 'aclock', milliSecond: true});
Thats it!! You can refer to the snippet.
Hope you all will like it. Write me at vivek_kumar_bt@yhaoo.co.in