WXforum.net
Web Weather => Weather Website PHP/AJAX scripting => Topic started by: KK7X on September 16, 2018, 04:30:54 PM
-
I am trying to setup the alt/ajax page for the first time in years. Only problem right now is that I am showing C and not F for temperature. My main page does not have that issue. The page I am having an issue with is http://rathdrumweather.us/newajax - http://rathdrumweather.us works fine with F
I would I am missing a simple setting.
Dennis
-
Look in your ajaxXXwx.js file. Examples below are from the MB (meteobridge) file.
var useunits = 'E'; // 'E'=USA(English) or 'M'=Metric
var uomTemp = '°F';
And get the other "uom..." and "use..." variables in the file as you are displaying metric for other stats also.