Page 1 of 1

open link

Posted: Fri Oct 12, 2012 4:02 pm
by Eric5020946

rss link field is mapped to LINK element, it seems to open in child browser or something like that (I have phonegap app)

the problem is that you can;t go back from that child browser (or whatever it is) to app once it opens the url

when I close the app and reopen, it comes back to previously opened browser window, bottom line no way back to the app - user gets stuck

I'm assuming thats child browser, correct me if I'm wrong
Any chance to force safari app or do it different way?


open link

Posted: Fri Oct 12, 2012 4:15 pm
by maxkatz

It's child browser if you use this code:

code
var cb = window.plugins.childBrowser;
cb.showWebPage("http://google.com");
/code


open link

Posted: Fri Oct 12, 2012 4:23 pm
by Eric5020946

Thanks Max

no idea if that was childbrowser from phonegap or just native mobile-ish version of safari but adding new property target="_blank" seems to work now


open link

Posted: Fri Oct 12, 2012 5:00 pm
by maxkatz

target="_blank" is just the standard HTML attribute to open a URL in a new browser


open link

Posted: Fri Oct 12, 2012 5:02 pm
by Eric5020946

I know, the point is that it worked and changed the way how browser opens, now it shows address bar like regular safari


open link

Posted: Wed Dec 05, 2012 8:09 pm
by Eric5020946

Max,

From your reponse I assume that there is childbrowser support in tiggzi which I think I came across accidently once or twice.
What I noticed is missing navigation when external url opens in childbrowser. Is there any way/settings to enable button DONE or BACK in childBrowser so user can come back to the app?


open link

Posted: Wed Dec 05, 2012 8:44 pm
by maxkatz

Here is the API that the plug-in provides: https://github.com/alunny/ChildBrowse...