Page 1 of 1

whoopsy adding gauges to page has broken the popups for the wind

Posted: Thu 09 Mar 2023 6:30 pm
by The PIT
You'll see the issue here https://www.sheffieldweather.net/gauges.htm

Just click on the wind gauge and you'll see what I mean.

I've used notepad++ to compare an early gauges.js file with the present one and apart from the changes made can't see why it going wrong. One of the new sections referred to tooltips and wind so i commented them out. Didn't make any difference.

Then data is fine in the realtime.txt file and inside cumulusmx itself.

I've attached the gauges4.zip and realtime as a zip file.

Re: whoopsy adding gauges to page has broken the popups for the wind

Posted: Fri 10 Mar 2023 12:13 am
by water01
All the gauges apart for the last two have pop ups working for me. Are you sure you are not looking at a cached page?

Re: whoopsy adding gauges to page has broken the popups for the wind

Posted: Fri 10 Mar 2023 5:52 pm
by The PIT
No I managed to fix it but needed to wait to wait for the change to take effect.

If I knew how to code I would have spotted it straight away.