cloudy cloudy

Author Topic: Windrose and Leuven  (Read 2918 times)

0 Members and 1 Guest are viewing this topic.

Offline Yendor

  • Posts: 88
  • La Crosse 2310
  • Wanaka NZ
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 37.0
    • Wanaka Weather
Windrose and Leuven
« on: May 04, 2015, 09:08:01 AM »
Not sure if this is the right forum but as it relates to the gauges here goes. I had this idea to incorporate a windrose within my gauges on my leuven template but am uncertain how to do that. I have it working on the Saratoga template and it has been suggested to me to create an iframe to upload the gauges. This is not something i have tried and at moment I cannot get a standalone page of gauges to work from latest download. Any suggestions or guidance  welcomed. If I was not recovering from hip surgery I probably wouldn't get these ideas.

www.wanakaweather.co.nz/weather1/wxindex.php and www.wanakaweather.co.nz/weather2

Offline tobydude

  • Posts: 209
  • Norway
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 42.0.2311.90
    • Fjærvoll Værstasjon
Re: Windrose and Leuven
« Reply #1 on: May 06, 2015, 11:14:06 PM »


Those look graeat!:   


Questen is, do I ned to know so much about scripts to paste inn a code for the gauge in wsGauges.js in the Leuven template?

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,419
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.9.5
  • Chrome 42.0.2311.90
    • My PWS at Leuven Belgium Europe
Re: Windrose and Leuven
« Reply #2 on: May 07, 2015, 01:23:08 PM »

Those look graeat!:   


Questen is, do I ned to know so much about scripts to paste inn a code for the gauge in wsGauges.js in the Leuven template?
The windrose is not possible inside the Leuven_Template.
Needs different javascript as it seems to be no a steelseries gauge.

The color and so on can be changed within the javascripts. Has been done often by others,

Wim
« Last Edit: May 07, 2015, 03:05:28 PM by wvdkuil »
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline mcrossley

  • Posts: 658
  • Wilmslow, Cheshire, UK
    • none
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 42.0.2311.135
    • WilmslowAstro Weather
Re: Windrose and Leuven
« Reply #3 on: May 07, 2015, 02:57:37 PM »
The windrose is not possible inside the Leuven_Template.
Needs different javascript as it seems to be no a steelseries gaugew.
Correct, the wind rose is a mash-up of some SteelSeries code and layering the RGraph plot into it. The code for it is now embedded in gauges.js
Mark

Offline tobydude

  • Posts: 209
  • Norway
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 42.0.2311.90
    • Fjærvoll Værstasjon
Re: Windrose and Leuven
« Reply #4 on: May 07, 2015, 03:28:17 PM »


The color and so on can be changed within the javascripts. Has been done often by others,

Wim
Yes, I have tried several backgrounds and frames in the steel series, , and at least a few of them can be changed.

http://vindpropell.no/weather2/index.php?p=25&lang=en#data-area
« Last Edit: May 07, 2015, 03:34:25 PM by tobydude »

Offline weatherbee

  • Posts: 726
  • Sherman, Ct.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 42.0.2311.135
    • Sherman Ct. Weather
Re: Windrose and Leuven
« Reply #5 on: May 07, 2015, 03:37:47 PM »
I got the wind rose showing in the Leuven template.
http://www.shermanctweather.org/weather3/index.php?p=117&lang=en

I call it as a new page I made with the steelseries template in an iframe.
Sony Pentium 4, 1.6 GHZ,512 MB Ram, Windows XP Pro, SP2


Offline Yendor

  • Posts: 88
  • La Crosse 2310
  • Wanaka NZ
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 37.0
    • Wanaka Weather
Re: Windrose and Leuven
« Reply #6 on: May 07, 2015, 11:19:02 PM »
weatherbee,

The gauges within an iframe is what I think I would like to try but have now idea how they work. Have you any links to accomplishing this?

Offline weatherbee

  • Posts: 726
  • Sherman, Ct.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 42.0.2311.135
    • Sherman Ct. Weather
Re: Windrose and Leuven
« Reply #7 on: May 08, 2015, 04:33:03 PM »
I downloaded latest steelseries and set it up in a separate folder.  Get it so it works by itself.  Then I created a new page in /weather2/inc.  I used the template wsNewPage.php.  Using the iframe section of the template insert the page that is working.  You'll also have to change wsMenuData.xml to include the new page.
Sony Pentium 4, 1.6 GHZ,512 MB Ram, Windows XP Pro, SP2


 

cumulus