My guess is that the black box effect is simply the result of the URLs for the resources not being successfully resolved by the webviewer.
My guess for why the URLs are not being resolved is that the webviewer is not operating from a context where it understands that your URLs (such as the ones below) are to be resolved as files in the local file system.
Probably when you used your browser to test the HTML, you simply used the browser to open the file locally, and therefore the browser was operating from a context where it understood to resolve the resources as local files.
My suggestion for some things to try:
1) You could try changing all of your temp dir URLs to explicitly indicate that they are local files. For example, the two URLs above would become:
2) This would be easier if it works: You could try adding a base tag to the head portion of your HTML, using the href property to point to the local file system:
... rest of your code ...
I'm not sure if I'm overlooking any extra gotchas that would apply if you plan to do this in FmGo.
Hope this helps & kind regards,
I cracked open SQL Explorer and found that exact thing. Changing my linking to file:/// did just the trick. I'm not developing for Go, so that's not a problem. Thanks a bunch!
Super! Thanks for letting me know how it turned out, Jared.