View Full Version : Javascript: Clock
highguyuk
05-05-2003, 08:27 AM
Hi
I have a clock on www.jpool.co.uk, and since daylight changes it has been an hour wrong.
The clock is used to show the UK time, and then an american time based on www.myleague.com as this is what the site was designed to use.
Can anyone help me in correcting the time?
*highguyuk*
The clock is at http://www.jpool.co.uk/lc_multi.js
agent002
05-06-2003, 10:27 AM
I can't find any clock from your site!
Jon Hanlon
05-06-2003, 07:25 PM
Well perhaps if you had bothered to open the js file yourself you would have seen the bit:
// Your GMT Offset:
// This will allow the clock to always be set to your local
// time, rather than that of the visitor's system Clock.
// Set to "null" to disable this feature.
var LC_GMT = "null";
// Note that this does NOT take into account daylight savings.
// You should add 1 to your GMT offset if daylight savings is
// currently active in your area.
highguyuk
05-07-2003, 11:04 AM
Im not THAT thick...
I opened the js file and found that myself. However, does this mean I simply put 1 instead of null, or do I put GMT1, GMT+1, or what!?
highguyuk
petervazed
05-07-2003, 03:52 PM
Long script......
setting null to 0 has no effect....
I could not find out where to do the changing....
but.....
In the page code script:
new LiveClock2('veranda,2,white,clear,<b>,</b>,250,1,1,0,1,2');
.. the last option change 2 to 1 or 3
:rocker:
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.