Accuweather script error
-
I’m using WP as the CMS for a client, and am creating a page with various weather data for the area. When I paste the code for the weather box into a page, I get the box along with the appropriate background and links at the bottom, but no actual data.
If I look at the code in a plain html file (outside of WP), it works fine. If I put it into an iframe and put the iframe into WP, it works fine (but that’s an inelegant solution which makes things really ugly if someone actually tries to follow one of the links). ??
The code is as follows:
<div style='width: 500px; height: 440px; background-image: url( https://vortex.accuweather.com/adcbin/netweather_v2/backgrounds/blue_500x440_bg.jpg ); background-repeat: no-repeat; background-color: #346797;' ><div style='height: 420px;' ><script src='https://netweather.accuweather.com/adcbin/netweather_v2/netweatherV2.asp?partner=netweather&tStyle=whteYell&logo=0&zipcode=55555&lang=eng&size=13&theme=&metric=0&target=_self'></script></div><div style='text-align: center; font-family: arial, helvetica, verdana, sans-serif; font-size: 12px; line-height: 20px; color: FFFFFF;' ><a style='color: #FFFFFF' href='https://www.accuweather.com/index-forecast.asp?partner=netweather&traveler=0&zipcode=53555' >Weather Forecast</a> | <a style='color: #FFFFFF' href='https://www.accuweather.com/maps-satellite.asp?partner=netweather' >Weather Maps</a> | <a style='color: #FFFFFF' href='https://www.accuweather.com/index-radar.asp?partner=netweather&traveler=0&zipcode=53555' >Weather Radar</a> | <a style='color: #FFFFFF' href='https://hurricane.accuweather.com/hurricane/index.asp' >Hurricane Center</a></div></div>
Rich editor is turned off. RunPHP is installed and active (it doesn’t work with RunPHP on or off).
I’m guessing that I’m missing something simple.
- The topic ‘Accuweather script error’ is closed to new replies.