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

0 Members and 1 Guest are viewing this topic.

Offline East Cobb Weather

  • Signature
  • Contributor
  • ***
  • Posts: 130
    • East Cobb 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
Eric
Marietta, GA
East Cobb Weather
http://www.eastcobbweather.com


Offline East Cobb Weather

  • Signature
  • Contributor
  • ***
  • Posts: 130
    • East Cobb 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
Eric
Marietta, GA
East Cobb Weather
http://www.eastcobbweather.com


Offline Bunty

  • Forecaster
  • *****
  • Posts: 1967
  • 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.81 at http://stillwaterweather.com/wx/2ndhome.php

Offline East Cobb Weather

  • Signature
  • Contributor
  • ***
  • Posts: 130
    • East Cobb 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!!
Eric
Marietta, GA
East Cobb Weather
http://www.eastcobbweather.com