Hi, I'm trying to modify the in-browser client demo to open up a web link but inside the app (not as a browser client).
Basically I wanted to open a web link inside the app but not on the browser window.
How to I make my app startup and open my hard coded web link in the app (not on a browser window of the app), as in, the web page is part of the app.
(The reason I don't want to open the in-browser client is that I don't want user to type in another web address)
Thanks.
5 Answers, 1 is accepted
"location=no" option turns off the InAppBrowser's location bar. I'd suggest checking the plugin documentation for all available options.
In this case, I modified the code snippet as follows:
openExternalInAppBrowser:
function
() {
window.open(
"http://www.google.com"
,
"_blank"
,
"location=no"
);
},
I hope this helps.
Regards,
Preslav
Telerik by Progress
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.
Hello Preslav,
I have a follow-up question here: is it also possible to use this plugin to implement a view that combines the external page with a header from my app (like in the Facebook app when you open a link for example)?
Best,
Jean-Marc
Hello Preslav,
I have a follow-up question here: is it also possible to use this plugin to implement a view that combines the external page with a header from my app (like in the Facebook app when you open a link for example)?
Best,
Jean-Marc
Hello Preslav,
I have a follow-up question here: is it also possible to use this plugin to implement a view that combines the external page with a header from my app (like in the Facebook app when you open a link for example)?
Best,
Jean-Marc
The behavior that you are describing cannot be achieved with the InAppBrowser plugin. A possible alternative is to embed the web page in an iframe, however, this will create a completely different experience.
I hope this is of any help.
Regards,
Garo
Telerik by Progress
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.