WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: UpstateWeather.com on May 16, 2018, 04:08:35 PM

Title: Changing header image based on current conditions
Post by: UpstateWeather.com 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
Title: Re: Changing header image based on current conditions
Post by: UpstateWeather.com 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
Title: Re: Changing header image based on current conditions
Post by: Bunty 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 (http://www.wxforum.net/index.php?topic=24808.0)
Title: Re: Changing header image based on current conditions
Post by: UpstateWeather.com 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 (http://www.wxforum.net/index.php?topic=24808.0)

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