This is the answer to a post in the use-list:
http://lists.runrev.com/pipermail/use-l ... 51777.html
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".
See in detail the attached stack.
Note. If you have one instance of a browser widget then more instances (as here "loader") do NOT increase the size of your stack/standalone (except the image used).
Browser widget and loading animation
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Browser widget and loading animation
- Attachments
-
- loadingTest.livecode.zip
- (2.11 KiB) Downloaded 292 times
-
- loadingTest.png (62.38 KiB) Viewed 4423 times
shiftLock happens
Re: Browser widget and loading animation
Hello.
I guess we could also do, in this way, a general use "Spinner", that will keep running no matter what.
May be getting the image locally, not from the web?
Tell me what you think.
Regards
Trevix
I guess we could also do, in this way, a general use "Spinner", that will keep running no matter what.
May be getting the image locally, not from the web?
Tell me what you think.
Regards
Trevix
Trevix
OSX 12.5.1 xCode 13.2 LC 9.6.8 iOs 15> Android 7>
OSX 12.5.1 xCode 13.2 LC 9.6.8 iOs 15> Android 7>