Page 2 of 15

Re: Yet more gauges

Posted: Tue 07 Jun 2011 10:48 am
by gemini06720
Mark, I had Safari installed previously... But, as I mentioned in another forum, I am still in the process of re-installing Window 7 from scratch ... since some of the files (probably just a couple of files) in my main Windows 7 directory got corrupted after an unexpected system crash... :evil:

I do not know what caused the file corruption as no new software (nor update) had been installed for about a week! It was after editing some PHP scripts that things started to get odd (and those scripts are not even on the same hard drive), first with the editor not closing, then with the Apache server, and so on, and so on ... until I go, for the first itme in many many years, the BSoD... :x

I should have the Safari browser installed in the next hour or so... :mrgreen:

Re: Yet more gauges

Posted: Tue 07 Jun 2011 10:50 am
by steve
Works fine in Safari 5 on my MacBook.

Re: Yet more gauges

Posted: Tue 07 Jun 2011 10:58 am
by steve
... but not working in iPod Safari - the appearance is as it was originally in FF4; some gauges missing and it doesn't update. Unfortunately I don't know how to debug on iPod.

Re: Yet more gauges

Posted: Tue 07 Jun 2011 11:04 am
by mcrossley
Hmm, just asked a mate to try it on his iPad2 and that works fine. My daughter has taken her iPod to school :(

Re: Yet more gauges

Posted: Tue 07 Jun 2011 11:18 am
by mcrossley
Steve, does this help with the iPod?
http://browsers.about.com/od/allaboutwe ... bugger.htm
It looks like it is in the same area as the FF problem before.

Re: Yet more gauges

Posted: Tue 07 Jun 2011 11:25 am
by steve
I found the setting to enable the debug console. The error is "JavaScript execution exceeded timeout" at line 4124 of steelseries.js

Re: Yet more gauges

Posted: Tue 07 Jun 2011 11:28 am
by mcrossley
Thanks Steve, so it may work if I create a set of smaller pages for iPhone/iPod devices with only a couple of gauges on each page.

Re: Yet more gauges

Posted: Tue 07 Jun 2011 11:32 am
by steve
Yes, I guess they deliberately set the timeout low on ipod/iphone.

Re: Yet more gauges

Posted: Tue 07 Jun 2011 1:09 pm
by mcrossley
For anyone that is interested these gauges are Javascript/Canvas port of the SteelSeries Java gauges. The author is slowly adding features from the Java version to the Javascript (he just added min/max indicators this lunchtime!).

A Java demo page is here:
http://idisk.mac.com/han.solo-Public/St ... /test.jnlp

The authors blog is here:
http://harmoniccode.blogspot.com/

Re: Yet more gauges

Posted: Fri 10 Jun 2011 8:10 am
by mcrossley
Gerrit has updated the gauges to add max/min indicators, a new styling to the compass and configurable 'knobs' :roll:

The min/max indicators are designed to be dynamic and reflect the max/min reading for the 'current session', though I am only using them on the wind speed and rainfall rate gauges and setting them statically to 'todays' max values.

For the other gauges I am using coloured background sectors to indicate the current days range.

http://weather.wilmslowastro.com/gaugesB/gauges.htm

Oh, and I have added two 'Dark' and 'Light' preset styles to the page.

Re: Yet more gauges

Posted: Fri 10 Jun 2011 8:15 am
by nitrx
I get this message in FF4
Sorry, though your browser supports HTML5 Canvas, it does not support
all the canvas features required
.

Re: Yet more gauges

Posted: Fri 10 Jun 2011 8:16 am
by steve
FF4 gives: "Sorry, though your browser supports HTML5 Canvas, it does not support
all the canvas features required." :(

Re: Yet more gauges

Posted: Fri 10 Jun 2011 8:20 am
by mcrossley
Budder - that bit of code doesn't work then! Give me a min...

Re: Yet more gauges

Posted: Fri 10 Jun 2011 8:21 am
by mcrossley
Try a browser refresh (or two) now...?

Re: Yet more gauges

Posted: Fri 10 Jun 2011 8:26 am
by nitrx
Works fine in FF4 now