PDA

View Full Version : javascript live clock with images PLEASE HELP



moscarda
01-10-2009, 03:39 AM
I don't know javascript from scratch, but I need a script that will read the value of a previously defined variable (like the time) and print it using local gif images. for example, if the time is 10:30 PM, then the script would read 1,0,:,3,0,PM and replace them with 1.gif, 0.gif, colon.gif, 3.gif, 0.gif, pm.gif. (http://moscarda.com/dd/time.gif)

I'm trying to get it to work with http://www.dynamicdrive.com/dynamicindex6/clock2.htm

thank you!

jscheuer1
01-10-2009, 04:54 PM
See:

http://www.dynamicdrive.com/forums/showthread.php?t=40511

where I answered a very similar question by you about another time script.

ddadmin
01-11-2009, 07:00 AM
As John's eluded to, please don't start multiple threads on essentially the same question. Just to add to John's response, here's a JavaScript Image clock (http://www.javascriptkit.com/script/cut9.shtml), though it doesn't display the time based on a particular local time (just the user's PC time).

I'm going to go ahead and close this thread.