The green text shows if the wind speed is >= than 10 mph, and red if >= 20
mph.
On Tuesday, December 3, 2019 at 11:05:30 AM UTC-5, Jared wrote:
>
> I only get the error at first, when the page attempts to load the
> JavaScript file. Error at line 2.
> *tbl = $('.widget_contents', $('current_widget'));*
>
> The widget object is not yet available and is undefined. But after the
> page loads, all of the page elements are available. So when I paste the
> function and attempt to reload it, it properly finds the widget table and
> can continue.
>
> The function updates the exact cell in the Current Conditions table for
> the current Wind value. I want this Wind value to update in real time,
> without refreshing the page. I have CRT dropping realtime.txt in the page
> root, so I grab the .txt file, parse out the Wind elements, and update that
> cell in the HTML table.
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/6d3b404e-0581-4482-9551-9e7896771c29%40googlegroups.com.