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"
HTH,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode