Layering Mobile Controls

Pierre Sahores sc at
Sun Mar 3 06:02:54 EST 2013

Le 3 mars 2013 à 08:14, Ender Nafi Elekçioğlu a écrit :

> But as I said, I'm trying to avoid to inject any code/script into the html files.
> It's too risky with online webpages.
> One has to save the page and resources first,
> then alter the html file,
> then set the url of browser to this saved & altered html file.
> It's easy to mess things up.

Not the way to go at all (for sure !)… 

In the following example, the offline (or, even, online) html source code stay always untouched. Only what is displayed inside the mobile app has to be, in local cached mode :

>       get your html code as url ("file:" & specialFolderPath("document") & "/source.html")
>       replace what you wants with what you needs in it
>       put it into url ("file:" & specialFolderPath("cache") & "/message.html")
>       mobileControlSet "MyZoomBox", "url", "file:" & specialFolderPath("cache") & "/message.html"


Pierre Sahores
mobile : 06 03 95 77 70

More information about the Use-livecode mailing list