This question is locked. New answers and comments are not allowed.
Hi
What Cordova says about the InAppBrowser plugin:
" This plugin provides a web browser view that displays when calling
According to Cordova's documentation on the InAppBrowser I can do the following:
...which (how I interpret it) should have the same result as:
...however, with the last html only approach it does not give me the same result as in the first javascript approach, namely
I'm using Cordova 3.2.0 in Icenium Graphite for an iOS iPad app.
Thx
What Cordova says about the InAppBrowser plugin:
" This plugin provides a web browser view that displays when calling
window.open()
, or when opening a link formed as <a target="_blank">
. " (source)According to Cordova's documentation on the InAppBrowser I can do the following:
function
myFunction() {
window.open(
'http://apache.org'
,
'_blank'
,
'location=yes'
);
};
// on a html element like <a href="#" onclick="myFunction()">Link</a>
...which (how I interpret it) should have the same result as:
<
a
href
=
"http://apache.org"
target
=
"_blank"
>
...however, with the last html only approach it does not give me the same result as in the first javascript approach, namely
- Javascript approach: Opens url in InAppBrowser with toolbar and 'Done' button (i.e. all the default behaviour).
- HTML approach: Opens url in fullscreen 'iframe-like' window which allows scrolling, however no toolbar and 'Done' button
I'm using Cordova 3.2.0 in Icenium Graphite for an iOS iPad app.
Thx