Time Zone Clock

I have a few niggles with it, but don't take these too negatively, the module works just fine already.
1. The clock update is triggered every second, even when the seconds aren't being shown. This causes a slight page flicker which is a bit distracting. My rough fix is just to change the setTimeout() interval to 60000 when no seconds are being used.
2. The Javascript is all inline which the HTML rather than being in a separate .js file. Not really a problem, it just looks a bit messy.
3. The styles are also inline rather than using the template CSS file. From other comments it looks like this is deliberate, but it's a bit of a pain to have CSS styles spread around the place.
Changing the timeout will affect the accuracy. Currently it locks the time to the pc and the server. The time should be the server time not the time on your pc. If you change the timeout the clocks will drift, condiderably if you leave them up on the page for a long time. As it is written you should not be more than a couple of seconds off for any amount of time up.
The javascript is written using php to do all of the calculations updating an include file is problematic on many installations.
Another reviewer mentioned a problem with 'IE7 wont load'. I had the same problem, but version 3.8 SOLVED it for me.
This was just what I want to help site visitor know when other members from different time zones are likely to be on-line.
Excellent!
Thanks for sharing your work.
Is there anyway to change the language?
What part do you want in what languages.
Make any requests at http://www.stroz.us/php/index.php?option=com_smf&Itemid=36
I'll see what I can do
Dave
The latest version does not include a CSS file. All CSS is defined inline and is editable in the module manager.
If you have specific problems please email me at d.sowers (at) advlanguage.com .
I'm here to help.
Dave
It keeps time but looks very odd counting down in seconds but the minutes increasing once it hits 10 seconds - very odd.
The previous version did occasionally do that when your pc's clock was significantly off from the correct time.
Please try the latest version.
Let me know if you still have problems with it.
Will add ability to shut off seconds when I get some time.


