Create a live time clock in your webpage

November 24, 2009 |  by Design Gala

Sometime we need to put a live time clock in webpage. There are various codes and scripts which allows us to insert live time and date in the page . I was reading an article and found quite easier than the ones i have used in my projects. So i feel that i should share with others.

We need to follows some simple steps for this as mentioned below

Step 1:
Insert the following codes into the webpage where, we wish to appear live time clock.

<script language="javascript" src="liveclock.js">
 
/*
Live Clock Script-
By Mark Plachetta (astro@bigpond.net.au©) based on code from DynamicDrive.com
For full source code, 100's more DHTML scripts, and Terms Of Use,
visit http://www.dynamicdrive.com
*/
 
</script>

Step 2:
Insert the following codes inside the body of the html page

<body onLoad="show_clock()">
</body>

Step 3:

Download liveclock.js (by right clicking, and selecting “Save As”), and upload to your webpage directory.

Click here to view the DEMO

Related Posts with Thumbnails

No Comments


Trackbacks

  1. Design Gala
  2. Design Gala

Leave a Reply