Loading large files into browser widget

Brian Milby brian at milby7.com
Sat Jun 29 19:26:41 EDT 2019


Placing the browser widget in a background group and display/hide as needed is a possible solution to have it retain content.

Thanks,
Brian
On Jun 29, 2019, 6:40 PM -0400, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com>, wrote:
> I have a 10-meg file on disk that I display in a browser widget. It is
> heavily tagged and styled. It takes a few seconds to load fully on
> desktop in the IDE, but on Android it can take up to 30 seconds or more
> to display an internal link, and even then the whole file isn't loaded,
> only a portion containing the linked text. If you scroll up or down,
> there are blank sections above and below the visible portion which only
> show the background color.
>
> Every time the card closes, the widget dumps the content and the next
> time you go to the card the whole process starts over again. I need a
> way to force the widget to retain its content, or a faster way to load
> the file.
>
> If that's not possible then we'll have to break up the file into pieces,
> but that is going to be difficult to script for a number of reasons. Any
> suggestions? Would the older native browser be any faster?
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list