TinyPortal

Development => Block Codes => Topic started by: BCB on May 02, 2006, 03:02:02 PM

Title: World Clock Java Aplet
Post by: BCB on May 02, 2006, 03:02:02 PM
I know with the people that come to my forums they are all over the world, and sometimes it can be a bit tricky to know what time it is in their area so I set out to find something that I could use. At first I had a bunch of different clocks  that went moreless down the whole left side of the page but did not want that so I figured there was something better, So Far this is what I have found to work the best.

If you want to see if it is something you want Download the attached file, Change the name of the file from wClock.txt to wClock.jarand put it in a folder on your site, Change the line in the code "http://yoursite.com/yourforum/Blocks/Clock/wClock.jar" to go to that folder
Make a new block and use Java put in the following code. Adjust to suite your needs. (The reason for the the Change is the site will not allow me to upload the .jar ext.)

<APPLET code = "WorldClock.class" archive = "http://yoursite.com/yourforum/Blocks/Clock/wClock.jar" width = "290" height = "150">
<PARAM name="background_color" value="175,190,190">
<PARAM name="border_clock_color" value="0,0,130">
<PARAM name="digit_clock_color" value="0,0,0">
<PARAM name="cities_text_color" value="0,0,0">
<PARAM name="cities_background_color" value="175,190,190">
</APPLET>



If anyone has something better I would love to see it and to know what else they did to make this better. I am not the writer of this I am only passing it along to others.
Title: Re: World Clock Java Aplet
Post by: moviespot on June 03, 2006, 03:32:43 PM
dose anyone use it on his site?

i want see a demo
Title: Re: World Clock Java Aplet
Post by: G6Cad on June 03, 2006, 03:45:36 PM
do a search on google and you will see demos for the clock
Title: Re: World Clock Java Aplet
Post by: BCB on June 07, 2006, 02:37:48 PM
I use it on my site.   for a demo of it you can see it at www.trdsquad.com
Title: Re: World Clock Java Aplet
Post by: Muziek4um on August 09, 2006, 12:36:29 PM
Here's another one: http://javaboutique.internet.com/World_Clock/

Not my site but did a google search. :D
Title: Re: World Clock Java Aplet
Post by: Assistance on August 09, 2006, 11:00:41 PM
Quote from: Muziek4um on August 09, 2006, 12:36:29 PM
Here's another one: http://javaboutique.internet.com/World_Clock/

Not my site but did a google search. :D
lol I personally wouldnt use this one seeing as they consider Canadian cities as America
not only that, they didnt include the the capitol of Canada, nor its biggest city

please boycot that one :P
Title: Re: World Clock Java Aplet
Post by: BCB on August 22, 2006, 08:35:02 PM
If the city is in the same Time zone as a city in Canada what is the big deal? I would not care if they used Cities from other countries for it as long as it was in the correct timezone for what I am looking for. I guess some people you can not please no matter what.
Title: Re: World Clock Java Aplet
Post by: Assistance on August 24, 2006, 02:23:06 AM
Quote from: BCB on August 22, 2006, 08:35:02 PM
If the city is in the same Time zone as a city in Canada what is the big deal?
not everyone would know if it is in the same time zone

just doesnt make sense to have a world clock that excludes major cities (Capitols)

IMHO