Author Topic: Clock Appearance on Main Page  (Read 5747 times)

Offline avoorpool

  • Sr. Member
  • ****
  • Posts: 372
    • http://pickeringweather.ca
Clock Appearance on Main Page
« on: October 26, 2012, 12:37:30 PM »
Hi Jacques,

With a Stormy, Wet Weekend ahead of us, I'm looking for a 'new' Challenge...  ;)

As we've seen with the great transition from the 'old, fifties-style' [GAUGES] page in the original WB template to the modern 'Steel Serie' [GAUGES], I'd like to give the Clock Appearance on the Main page a similar 'make-over'.....
I've done a simple copy/paste with an image from 'Worldtimeserve.com' just to see how things could look like.

Question:
In the 'clockp.js' you can only change the size and colours of the existing clock, but
WHERE do I find the actual clock 'design', so it will be possible to change this????

As always, any suggestion is very welcome  :) ;)

Thanks,

Arthur

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Clock Appearance on Main Page
« Reply #1 on: October 26, 2012, 07:19:01 PM »
Hi Arthur,

For clock appearence, there is not a lot of choices, as the library draw its own
needles, numbers and "ticks", but no  choices on needles or ticks... only 3 kind
of "numbering" (Regular, Roman or no numbers) you could see variant on this
link:  http://javascript.about.com/library/blclockm1.htm
Cool thing is that this clock is transparent, then you could have your owm clock face.

Problem with clocks is that 95% of them are Flash made (then hated by all Apple
products). That one is the best one I foud on non-Flash (javascript)

Then go ahead and surprise us!  ;)

Regards,
Jacques 
Please, consider supporting this site 

Offline avoorpool

  • Sr. Member
  • ****
  • Posts: 372
    • http://pickeringweather.ca
Re: Clock Appearance on Main Page
« Reply #2 on: October 26, 2012, 11:49:34 PM »
Hi Jacques,

Thanks for the reply.
I noticed on the web that there are numerous opportunities to "build" your own analog clock (including library for needles, ticks etc as well as clock face.....

So......in other words can I replace the existing needles, ticks library with "modern" ones, and then replace clock face to give it a complete 'make-over'.... :)
Please let me know,

Thanks,

Arthur

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Clock Appearance on Main Page
« Reply #3 on: October 27, 2012, 06:54:01 AM »
Hi Arthur,

Sure, if you find anything better, go ahead!

Just take care to avoir Flash as newest machines (Phones and tablets)
don't like Flash, as I mentionned!

Regards,
Jacques
Please, consider supporting this site 

Offline avoorpool

  • Sr. Member
  • ****
  • Posts: 372
    • http://pickeringweather.ca
Re: Clock Appearance on Main Page
« Reply #4 on: October 27, 2012, 12:10:10 PM »
Hi Jacques,

The final solution was much 'simpler' than I thought.........

Playing around in my 'localhost-XAMPP' settings, I implemented a downloaded code just to see how the clock would look like (not to be used, since it was a flash-based clock).
HOWEVER, when I did, the existing clock boundery (pan_clock) disappeared, and I thought: THAT's IT..!! :)
So I took out the pan_clock, changed the size and position of the clock and voila, I like the transparent clock in a bigger size!!!!
Check it out!!

Cheers,

Arthur

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Clock Appearance on Main Page
« Reply #5 on: October 27, 2012, 12:23:11 PM »
Hi Arthur,

Yes, that is a good way to wotk with AMP server!  ;D

But at 1:30pm the closk has desappeared!!  ::)
I find this new model a little bit too... transparent!  ;)

Regards,
Jacques
Please, consider supporting this site 

Offline avoorpool

  • Sr. Member
  • ****
  • Posts: 372
    • http://pickeringweather.ca
Re: Clock Appearance on Main Page
« Reply #6 on: October 27, 2012, 02:57:05 PM »
Hi Jacques,

The Clock still displays here....!! :)

Cheers,

Arthur

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Clock Appearance on Main Page
« Reply #7 on: October 27, 2012, 04:25:22 PM »
Hi Arthur,

I found it! Clock is visible, but not with my !E9!

Jacques
Please, consider supporting this site 

Offline avoorpool

  • Sr. Member
  • ****
  • Posts: 372
    • http://pickeringweather.ca
Re: Clock Appearance on Main Page
« Reply #8 on: October 29, 2012, 10:06:07 AM »
HI Jacques,

Maybe you have a 'different' IE9, since here it shows (see attachment)
On the other hand I might have done something wrong in my indexT.htm adjustments.
Please have a look if this is "allowed"
Original:
<div id="right_h">
<div class="pan_clock">
<div class="local_time">

Changed into:
<div id="right_h">
<div class="">
<div class="local_time">

I only deleted the pan_clock portion, but left the <div class......

Please let me know,

Cheers,

Arthur

Offline krmidas

  • Full Member
  • ***
  • Posts: 91
    • The Tom Keramidas Climatological Experience
Re: Clock Appearance on Main Page
« Reply #9 on: November 14, 2012, 07:37:36 PM »
Speaking of the clock, mine didn't return to standard time when we ended daylight savings time in the US. Is there anyway to adjust this?

Page here:
http://krmidas.home.comcast.net/~krmidas/cumulus/index.htm
« Last Edit: November 14, 2012, 07:41:52 PM by krmidas »
Tom Keramidas, Lake Zurich, IL, USA

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Clock Appearance on Main Page
« Reply #10 on: November 14, 2012, 08:56:33 PM »
Hi Tom,

For your clock, there is a parameter to adjust: "DST"
You'll find it in the clockp.js file. If you  haven't used this
parameter (dst=0), you could just being on the wrong time zone.

Then check in the same file, the "mytimezone" parameter
to put the right time on your site. You could check that link
to have some info.

http://weatherbyyou.com/wb_install.php

Best regards,
Jacques

 
Please, consider supporting this site 

Offline krmidas

  • Full Member
  • ***
  • Posts: 91
    • The Tom Keramidas Climatological Experience
Re: Clock Appearance on Main Page
« Reply #11 on: November 14, 2012, 09:29:23 PM »
Thanks. I assume it's a manual change I need to make everytime DST starts and ends?
Tom Keramidas, Lake Zurich, IL, USA

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Clock Appearance on Main Page
« Reply #12 on: November 14, 2012, 09:56:02 PM »
Hi Tom,

I must admit that I never have checked this option, as we have 2 days in a year
to verify it! I know option is there, but haven't conducted a "deep test" on it!  ::)

As system (webserver) has to do that job and script rely on server, I don't see why to use it!

Regards,
Jacques

« Last Edit: November 14, 2012, 10:00:04 PM by Mr.Meteo »
Please, consider supporting this site