Hello bertl,
Thanks for the downloadâŚit definitely works on my site OKâŚsee here
Do not thank me, thank Axelvold, it was his idea and script, which I have adjusted a bit.
Bertil
Took Lars & Bertilâs script and moddificated it a little bit :lol:
Result as attached image,
Note, it use same limits for barotrend-needle what Davis use (Daivis use 3hr but i converted it to 1 hr) and it different from what Kenâs template ue.
Its heavily use jQuery as base, the graph is Flot, needle is pure javascript and AJAX is jQuery-version of it, because i like jQueryâs AJAX-system, its clear and easy to manage.
I have NOT tested it on the template so i should need someone to test it for possible (surely) issues.
Demo: Weatherstation Salo, Pertteli
Download: http://www.nordicweather.net/downloads/?6
Install:
2 paths in vp_console2.php
2 paths in jquery/jquery.console.js
Enjoy!
Henkka
Looks very nice, Seems that I can throw my script in the trash.
WellâŚI just canât keep up is the truthâŚvery many many thanks to ALL working on thisâŚLars, Bertil and now it would seem Henkka and maybe more to come⌠:oops:
Anyway, my puny efforts of moving co-ords here and there have all been overtaken by the speedier efforts of others (and most likely, very much younger and definitely more knowledgeable, fellow forum members)âŚbut I am learning in the processâŚ
Looks very nice, Seems that I can throw my script in the trash
Noo, the idea was yours so all credits goes to you!
Henkka
Forgot one file from the zip (ie7.css), what include a IE-fix, zip updated.
Hi Henkka
Got it almost working:
http://www.silkeborg-vejret.dk/davisvp2.php
I think my trend and wind arrows are missing and the scrolling text. Where do I find them?
Best regards,
Henrik
Edit: And the graphs are missing too
Hi Henrik,
Works fine from here
Henkka
IF you need to adjust the positions for the numbers when you install it on your site, i needed, just look for the âtop: xxxpxâ in the style=ââ-settings in the html-code and finetune from there. seems they can slightly move depend on the pageâs other code.
Iâm struggling âŚobviously something to do with the image locationâŚI already had a folder called img and transferred the contents of the downloaded image folder to thatâŚMy img folder is at the first level in the website directoryâŚ
ideas? help required.
This is the result so far for the Henkka version⌠here
The previous Bertil Version still works OK here
Hi Henkka
You are right - it works fine in Firefox - but not in IE8 :? :?
Best regards,
Henrik
You are right - it works fine in Firefox - but not in IE8
aah, that damn excanvas.pack.js-file #-o
Just copy it from 3in1 to correct folder
henkka
Excanvas.pack.js included in zip now.
Bertil, looking great! Just little finetuning of wind-speed and viol
Hi Henkka
That did the trick!! Now its working
Thanks to all who have been involved in this great script.
Best regards,
Henrik
Help please.
I am getting thereâŚbut v slowlyâŚI am not getting the data through at all (first it was the image now it is the data agghhhh)
I have both testags and clientraw going to the root directory at my websiteâŚwhat do I need to put in the relevant âsettingsâ to point to these filesâŚI have never understood this :oops: :oops:
so far the I have progressed to this
Make sure you edit both filesâŚ
Install: 2 paths in vp_console2.php [b]2 paths in jquery/jquery.console.js[/b]
Very nice. Where would I need to make changes to get the wind in mph, baro in mg, rain in inches, etc.?
Also need to move the scrolling vp forecastâŚsee it in action: VP Console
Dan,
To convrt to F, in etc. you need to tweak in two places:
jquery.console.js - add needed conversations, for windspeed there are allready one in place for m/s, just change it
vp_console2.php - change the units in the html-code
scrollerâŚahaa⌠in the css-part, change #ajaxforecast { top: 279px; } to #cajaxforecast { top: 279px; }. Forgot to change that when renamed the idâs so they not are same as ajaxWDwd.js idâs.
Henkka