Categories:

Home / Free JavaScripts / Clocks, Calenders, And Timers / Here

Cut & Paste JavaScript Image Clock

Credit: JavaScript Kit

Description: This is a compact JavaScript image clock that's updated live every second. It comes with a default image pack for the interface, though you can easily specify you own "digits" images instead inside the script.

Example:

Directions

Step 1: Insert the below into the <HEAD> section of your page:

Step 2: Then, to display the clock, call this function where you wish the clock to be shown:

Step 3: But wait, don't forget the images! Download the image pack below and upload the images inside to the same directory as your webpage:

You can modify the path to the images by configuring it near the top of the script of Step 1.


JavaScript Tools:
Site Info


CopyRight (c) 2018 JavaScript Kit. NO PART may be reproduced without author's permission. Contact Info