I must have gotten my energy back as I’ve made several more updates to the Web site. I put the newest advisories Web page into production. I also did some minor tweaking to make some of the transitions look a little smoother. Alerts slide up and down rather than just popping in and out of view. I also toyed around with ways to highlight changed values when the weather data updates dynamically. I tried making the text fade in and out. I also tried having it appear in a different color for a few seconds and then change color to match the rest of the page. That particular effect is used by Weather Underground and by several other personal weather pages. But in the end I decided I didn’t really like it and put things back so that updated values just change to the new value without drawing any attention.
The next thing I did was test my pages on a browser that doesn’t have JavaScript to see how they behave. I had to make a few changes to make sure there is static text displayed in those browsers since they can’t update the page dynamically through JavaScript code. So things like alerts don’t update when they change, but they do display whatever was in effect when the page is first loaded. Some of these changes required having static and dynamic sections on a page. The static sections display by default. JavaScript code hides the static sections and displays the dynamic portions. Browsers that do not have JavaScript will display the static portion as they can’t run the code to display the dynamic portions. So now I have some new browsers to test with when I update my pages. And yes, I do still need to zip and post the updated code to the download area of the Web site.
Finally, I have updated my Raspberry Pi in preparation for using it as my newest weather station computer. My current one works fine. My only complaints are that it draws more power than the Pi and won’t run as long on battery backup. I am adding an external hard drive so that the constant updates to the weather data don’t “wear out” the SD card. Hopefully time will allow me to complete that project in the next few weeks.