WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: KK7X on September 16, 2018, 04:30:54 PM

Title: Saratoga alt ajax showing C and not F
Post 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
Title: Re: Saratoga alt ajax showing C and not F
Post by: Jasiu on September 16, 2018, 04:52:13 PM
Look in your ajaxXXwx.js file. Examples below are from the MB (meteobridge) file.

Code: [Select]
var useunits = 'E';         // 'E'=USA(English) or 'M'=Metric
Code: [Select]
var uomTemp = '°F';
And get the other "uom..." and "use..." variables in the file as you are displaying metric for other stats also.