Browser widget and loading animation

Moderators: LCMark, LCfraser

Post Reply
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2072
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Browser widget and loading animation

Post by [-hh] » Sat Dec 01, 2018 12:26 am

This is the answer to a post in the use-list: ... 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).
(2.11 KiB) Downloaded 97 times
loadingTest.png (62.38 KiB) Viewed 971 times
shiftLock happens

Post Reply

Return to “LiveCode Builder”