New Block – Forecast – Graphical

New Block – Forecast – Graphical

Hi guys,

This new block shows a 48h forecast as an interactive image with a slider to slide through days. The background will reflect the forecasted condition and show for example animated rain, lightning (when thunderstorm is forecasted), falling snow, sun, sunrise, sunset, fog etc.

In addition you can also see the forecasted conditions (temperature, humidity, pressure, wind speed, dew point).

It is a little bit like the interactive banner, but it uses much less CPU power and of course there is no Flash or similar technologies used.

It is however still a bit experimental so if you discover any bugs let me know.

DEMO

Enjoy

10 thoughts on “New Block – Forecast – Graphical

  1. Because when I changed the language on your page to Dutch the language stayed English , after that I inspected the code and the api I saw a lot of languages are availble so I think it wil not work by switching the language for a visitor, but I tried this out on mu own page and for some reason I cannot change the language of my site, anyway the block shows up in Dutch 🙂

    • Hi Ron,
      yes this makes sense. This is because the file is cached, the file is loaded in a language specified, but then used from cache.

      For example – my site uses default ENG, so someone before you loaded the ENG file and your page loaded it from cache.
      There is no way around this because not caching it or loading it in several languages would result in exceeding the daily quota for Darksky free account and your server being blocked from all forecasts.

Leave a Comment