Getting Browser Widget to Read Local Assets
brahma at hindu.org
Fri Jan 11 14:08:22 CET 2019
I finally got around to implementing this. Works great! In terms of being a loader for
on browserDocumentLoadComplete pURL
if pURl is not empty then
send "hideloader" to me in 1 second
One caveat: Old path problem. I can't get the browser to read a local image in this case. Tried full path
which yields this:
I tried a manual relative path
against this folder layout
It still doesn’t show?
The following works tested here on desktop, should work everywhere where the browser widget works.
1. Overlay browser widget "browser" with a browser widget "loader" (that displays a loading animation).
2. Load the slow loading url into widget "browser".
3. Hide widget "loader" by browserDocumentLoadComplete of widget "browser".
More information about the use-livecode