Re: Local Image Paths in HTML for Browser Widget Fails

2018-01-09 Thread J. Landman Gay via use-livecode
On 1/8/18 9:16 PM, Sannyasin Brahmanathaswami via use-livecode wrote: Nope… no way. On mobile, there are major issues with certain mobile controls. You might be able to use the native "busy" indicator on mobile, which doesn't interact with the stack content: mobileBusyIndicatorStart mobileBu

Re: Local Image Paths in HTML for Browser Widget Fails

2018-01-08 Thread Sannyasin Brahmanathaswami via use-livecode
Nope… no way. On mobile, there are major issues with certain mobile controls. e.g. scrolling group becomes a mobile scroller on a phone… this "lies on top of everything" and I believe the browser is also generating a mobile control instance as well. I don't understand it 100% (not even 10%) but

Re: Local Image Paths in HTML for Browser Widget Fails

2018-01-08 Thread hh via use-livecode
Yet another option. For a *true* progress animation (no gif) use https://github.com/HubSpot/pace That's what I use with my HTML5 demo pages. For example (with a selfmade LiveCode theme) http://hh.on-rev.com/html5/SVG2PNG_HTML5-9.0.0-dp-4hhX.html Instead you could use your own logo for rotating.

Re: Local Image Paths in HTML for Browser Widget Fails

2018-01-07 Thread Mike Bonner via use-livecode
ok, nevermind, you can't overlay the browser widget I guess. Is there a way? On Sun, Jan 7, 2018 at 9:14 PM, Mike Bonner wrote: > 2 possible options I can see.. either have a 2nd browser widget with that > page in it, and enable/disable hide/show or just move it out of the > screenrect.. Thoug

Re: Local Image Paths in HTML for Browser Widget Fails

2018-01-07 Thread Mike Bonner via use-livecode
2 possible options I can see.. either have a 2nd browser widget with that page in it, and enable/disable hide/show or just move it out of the screenrect.. Though it sounds like all you're doing is putting an animated gif that you want to show during page load. Can't you just pop it into an image

Re: Local Image Paths in HTML for Browser Widget Fails

2018-01-07 Thread Sannyasin Brahmanathaswami via use-livecode
@ Mike… thanks… duh! (as he slaps himself on the side of the head) I was mixing up the props the htmltext # with the url this is all static content so all that was needed was, assets /info web-loading.html and then this command setWebURL put path_Assets() & "info/web-l

Re: Local Image Paths in HTML for Browser Widget Fails

2018-01-06 Thread hh via use-livecode
Yet another option. 1. Put ONCE the loader into a custom property on mouseUp answer file "input your loader.gif" if it is empty then exit mouseUp put base64Encode(url("binfile:"&it)) into ii replace linefeed with empty in ii set the loader of this card to compress(ii) end mouseUp -- thi

Re: Local Image Paths in HTML for Browser Widget Fails

2018-01-06 Thread Mike Bonner via use-livecode
It may be easier if you hit the file directly.. Build up your path string to the html file and put it into a variable (including the file itself) Then rather than grabbing the contents of the file, first edit and hard code a relative path to your image in the file itself. Then load the file as a

Local Image Paths in HTML for Browser Widget Fails

2018-01-06 Thread Sannyasin Brahmanathaswami via use-livecode
I'm trying to send some local html to the browser widget to display a local loading GIF until the page "comes down" from the cloud. This needs to work on mobile too. the directory structure main app folder /assets /img /global-icons ajax_loader_big.gif" /i