Interacting with html objects in a browser on mobiles

Ralph DiMola rdimola at evergreeninfo.net
Mon Nov 17 12:29:35 EST 2014


There is one more wrinkle. When "retreating", you have to put this check in
or the same page will get displayed once for every link clicked.

if mobileControlGet (sControlID,"canRetreat") and not CurrentBrowserURL
contains "YourPageWithLinksURLWithoutParameters" then
  mobileControlDo sControlID, "retreat"
else
 open recent card
end if

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of jbv at souslelogo.com
Sent: Monday, November 17, 2014 11:55 AM
To: How to use LiveCode
Subject: RE: Interacting with html objects in a browser on mobiles

Thanks for the answer. Actually that's exactly what I'm doing, but I was
hoping for a more elegant solution...

Best
jbv

> I wanted to bring up pick lists when clicking on some links.  I 
> kludged this
> by:
> 1) Set a link to reload the same page with html parameters.
> 2) When the user clicks the link the page reloads but you don't see it 
> because it's the same page.
> 3) For iOS process the parameters in the URL in the 
> browserLoadRequested message.
> 4) For Android process the parameters in the URL in the 
> browserStartedLoading message.
>
> Not pretty but it worked.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net



_______________________________________________
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