I am testing displaying the thermometer.php on my ajax-dashboard6.php. I use Imperial/Metric switching but the thermometer does not switch. I am using "WD" software and the thermometer.php is // Version 1.17 - 14-May-2021. Is the thermometer.php at V1.17 coded to support UOM switching?
This is the code I use in ajax-dashboard6.php to display the thermometer:
<tr>
<td align="center" valign="top" class="data1" style="text-align: center;border: none">
<a class="hvr-float-shadow"> <span class="ajax" id="ajaxthermometer">
<?php $tstr = "Currently $temperature, Max: $maxtemp, Min: $mintemp"; ?>
<img src="thermometer.php?t=<?php echo strip_units($temperature); ?>" alt="<?php echo $tstr; ?>"
title="<?php echo $tstr; ?>" height="170" width="54" /> </span></a>
</td>
</tr>
My site is:
https://ajijicweather.com/wxindex.php