Author Topic: Changing header image based on current conditions  (Read 523 times)

0 Members and 1 Guest are viewing this topic.

Offline UpstateWeather.com

  • Signature
  • Contributor
  • ***
  • Posts: 146
    • Upstate Weather
Changing header image based on current conditions
« on: May 16, 2018, 04:08:35 PM »
Wondering if anyone has done this before and willing to share their knowledge:

I want to change my website header based on the current weather conditions. (I'm running Ken's template using Weather Display.)

I don't want to get too crazy - thinking different images for sunny, cloudy, rainy, night, etc.

I know it's possible with a PHP script but honestly, I don't know enough to really dig in and do it. Has anyone done anything similar?

Thanks!
Eric

Offline UpstateWeather.com

  • Signature
  • Contributor
  • ***
  • Posts: 146
    • Upstate Weather
Re: Changing header image based on current conditions
« Reply #1 on: May 20, 2018, 08:46:24 PM »
Wondering if anyone has done this before and willing to share their knowledge:

I want to change my website header based on the current weather conditions. (I'm running Ken's template using Weather Display.)

I don't want to get too crazy - thinking different images for sunny, cloudy, rainy, night, etc.

I know it's possible with a PHP script but honestly, I don't know enough to really dig in and do it. Has anyone done anything similar?

Thanks!
Eric




Sent from my iPhone using Tapatalk

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2429
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: Changing header image based on current conditions
« Reply #2 on: May 20, 2018, 11:53:21 PM »
Here is the page where doing that was discussed.  However, it may be hard to understand how to get the ideas to work.
http://www.wxforum.net/index.php?topic=24808.0

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/2ndhome.php

Offline UpstateWeather.com

  • Signature
  • Contributor
  • ***
  • Posts: 146
    • Upstate Weather
Re: Changing header image based on current conditions
« Reply #3 on: May 21, 2018, 04:29:39 PM »
Here is the page where doing that was discussed.  However, it may be hard to understand how to get the ideas to work.
http://www.wxforum.net/index.php?topic=24808.0

Thanks Bunty! That's EXACTLY what I needed. Thanks!!