You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by Apache Wiki <wi...@apache.org> on 2012/08/09 22:06:28 UTC
[Cordova Wiki] Update of "InAppBrowser" by ShazronAbdullah
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.
The "InAppBrowser" page has been changed by ShazronAbdullah:
http://wiki.apache.org/cordova/InAppBrowser?action=diff&rev1=1&rev2=2
Comment:
fixed formatting: added linebreaks to code lines
== Programatic API ==
- {{{ window.open('local-url.html', '_self'); // loads in CordovaView. _parent and _top same thing }}}
+ {{{ window.open('local-url.html', '_self'); // loads in CordovaView. _parent and _top same thing }}}<<BR>>
- {{{ window.open('local-url.html', '_blank'); // loads in InAppBrowser }}}
+ {{{ window.open('local-url.html', '_blank'); // loads in InAppBrowser }}}<<BR>>
- {{{ window.open('http://whitelisted-url.com', '_self'); // loads in CordovaView }}}
+ {{{ window.open('http://whitelisted-url.com', '_self'); // loads in CordovaView }}}<<BR>>
- {{{ window.open('http://whitelisted-url.com', '_blank'); // loads in InAppBrowser }}}
+ {{{ window.open('http://whitelisted-url.com', '_blank'); // loads in InAppBrowser }}}<<BR>>
- {{{ window.open('http://random-url.com', '_self'); // loads in InAppBrowser }}}
+ {{{ window.open('http://random-url.com', '_self'); // loads in InAppBrowser }}}<<BR>>
- {{{ window.open('http://random-url.com', '_blank'); // native browser }}}
+ {{{ window.open('http://random-url.com', '_blank'); // native browser }}}<<BR>>
{{{ window.location = 'foo' }}} is equivalent to the '_self' options above.