Hello,
I am adding a weather forecast banner on my site. The provider is accuweather.com and they provide both Celsius and Fahrenheit option. Both of these have their own code to paste on a web page. I would like to include a link or a radio button for a visitor to choose from. I tried it with JavaScript and with PHP but it did not work for the reason that the weather code is not allowing itself to be inside JavaScript or PHP code.

Which language or method should I use to make this possible?

One option is to have two exactly similar pages having only one difference; the other one has Celsius code and the other one Fahrenheit, but this is not a smooth way to do it.









The code for Celsius is below:

<div style='width: 435px; height: 90px; background-image: url( http://vortex.accuweather.com/adcbin..._435x90_bg.jpg ); background-repeat: no-repeat; background-color: #;' ><div id='NetweatherContainer' style='height: 75px;' ><script src='http://netweather.accuweather.com/adcbin/netweather_v2/netweatherV2ex.asp?partner=netweather&tStyle=normal&logo=1&zipcode=EUR|NL|NL008|AMSTERDAM|&lang=eng& size=10&theme=clouds&metric=1&target=_self'></script></div><div style='text-align: center; font-family: arial, helvetica, verdana, sans-serif; font-size: 10px; line-height: 15px; color: #;' ><a style='color: #' href='http://www.accuweather.com/world-index-forecast.asp?partner=netweather&locCode=EUR|NL|NL008|AMSTERDAM|&metric=1' >Forecast</a>*|*<a style='color: #' href='http://www.accuweather.com/maps-satellite.asp' >Maps</a>*|*<a style='color: #' href='http://www.accuweather.com/index-radar.asp?partner=accuweather&zipcode=EUR|NL|NL008|AMSTERDAM|' >Radar</a></div><img style='float: right; padding-right: 5px;' src='http://vortex.accuweather.com/adc2004/common/images/misc/netweather_v2/adcwhite.png' /><div style='clear: both;' /></div></div>