Page 2 of 7
Re: Editing the Dashboard.js file for different guage look.
Posted: Tue 26 Oct 2010 9:04 pm
by mcrossley
Thanks Neil.
OK, I'll look at tidying up the code and parametrising more things (like colour options etc), it will give me something to do while I'm stuck in these London hotels

Re: Editing the Dashboard.js file for different guage look.
Posted: Tue 26 Oct 2010 9:44 pm
by captzero
Mark,
I've been using your Baro gauge for a while now and would love to use the rest of your gauges.
Cheers
Re: Editing the Dashboard.js file for different guage look.
Posted: Wed 27 Oct 2010 1:07 pm
by carl
where can we get the dashboard.js file...is it available?...i really like the display
i mean the one like wilmslow's gauges
Re: Editing the Dashboard.js file for different guage look.
Posted: Wed 27 Oct 2010 10:52 pm
by Synewave
Carl,
Previously in this thread Mark and Steve have discussed making these gauges available through this website at some point, possibly soon.
Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 10:31 am
by DaveNZ
I tried to view your site and gauges Mark but there is no data at all on your site, just blank space - it says "Status: downloading..." but nothing happens

Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 12:42 pm
by mcrossley
Dave, have you got Javascript enabled in your browser? Which browser are you using? It's working OK for me (IE & Chrome).
Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 1:12 pm
by steve
It's not working for me in Firefox, though it has in the past. I get the following error:
Error: led is not defined
Source File:
http://weather.wilmslowastro.com/dbimages/now.js
Line: 75
Works OK in IE8, though.
Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 2:15 pm
by mcrossley
Doh, I made the mistake of directly referencing into the HTML DOM, IE and Chrome support this, Firefox doesn't

Should be OK now? (I haven't got Firefox installed on this machine).
Mark
(forever tweaking!)
Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 2:20 pm
by steve
Yes, working fine now.
Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 8:10 pm
by DaveNZ
Still doesn't work work for me in Firefox. I loaded it in IE8 though and it works, although I generally do not use IE8 except for website testing.
Good work on the gauges

Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 8:13 pm
by steve
DaveNZ wrote:Still doesn't work work for me in Firefox.
Probably cached, try forcing a refresh. If that doesn't help, turn on the error console and reload the page.
Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 8:34 pm
by captzero
I regularly visit the gauges page to monitor progress and have not had any probs previously. I'm also using FF and both Mark's Home page and Instrument page had stopped loading for me. Did as you suggested Steve without any success. Used the Chrome add-on from FF and the site is loading okay now.
Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 8:47 pm
by mcrossley
Installing FF on a machine now...
Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 8:49 pm
by DaveNZ
steve wrote:DaveNZ wrote:Still doesn't work work for me in Firefox.
Probably cached, try forcing a refresh. If that doesn't help, turn on the error console and reload the page.
Clearing the cache solved the problem, works now. Thanks
I'm often clearing the cache but did not think to do that for this situation, for some reason...hmmm
Re: Editing the Dashboard.js file for different guage look.
Posted: Sat 06 Nov 2010 8:53 pm
by mcrossley
And it all works OK for me, you must have old code cached, either in the local browser cache or the ISP's 'accelerator'.
I've noticed that the font FF uses for the gauge text comes out much larger than Chromes rendering - hmm, I may put some code in to alter the font size based on browser type - don't you just love standards!