All was fine, until it wasn't. The HTML would run fine under Safari, but would mysteriously die when run under Xojo's HTMLviewer.
But this raises the question - why did it work in Safari but not Xojo?
- I believe Xojo is using the older WebView control. Safari is (probably) using WKWebView. Perhaps an engine difference?