[
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697867#comment-13697867
]
David Kemp commented on CB-3397:
--------------------------------
Adding this requires a size, and a location (4 values). My preference would be
to add these as an object that can be passed in. Unfortunately, the current
implementation of window.open() uses an option argument that is a
comma-delimited list of key-values pairs.
Some options:
* modify the existing function signature by adding another option (seems odd)
* modify the signature to accept an array of key-values for the option
parameter (might break things)
* add string options with a syntax like position=20;20, size=200;200
It seems like the last one is a little hacky, but safe and backward compatible.
Thoughts?
> A way to control the width/height and x/y placement of the InAppBrowser
> UIWebView on the screen
> -----------------------------------------------------------------------------------------------
>
> Key: CB-3397
> URL: https://issues.apache.org/jira/browse/CB-3397
> Project: Apache Cordova
> Issue Type: Improvement
> Affects Versions: 2.7.0
> Reporter: Jan-Dirk Schuitemaker
> Assignee: David Kemp
> Priority: Minor
> Labels: Cordova, InAppBrowser
>
> Currently the inAppBrowser overlays your app. If you were able to set
> position and heigth/width for the InAppBrowser UIWebView you could make it
> look as if you are still in the app
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira