[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2015-09-14 Thread Jan-Dirk Schuitemaker (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743251#comment-14743251
 ] 

Jan-Dirk Schuitemaker commented on CB-3397:
---

[~pluswave] Yes the inappbrowser should be a part of the app or at least look 
like being a part of the app. When the inappbrowser is open I would like to 
still see (for example) the header and footer of my app.

> 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
>  Components: Plugin InAppBrowser
>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 was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2015-09-14 Thread Zhang Zengbo (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743085#comment-14743085
 ] 

Zhang Zengbo commented on CB-3397:
--

If I understand correctly, the inappbrowser should not be a model dialog but as 
a part of the app. so we can customize it with a bar in our cordova app to do 
something with the inappbrowser, I.E. share the link by this plugin: 
https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin . But as I 
searched for the issues, only this issue is related to this. guys, do you mean 
to have the feature I just mentioned or something else ? ( I am just wondering 
if I need to open a new feature request )

> 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
>  Components: Plugin InAppBrowser
>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 was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2014-01-07 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864348#comment-13864348
 ] 

Andrew Grieve commented on CB-3397:
---

No progress. Don't think it's on anyone of the the core team's near-term 
priorities either.

> 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
>  Components: Plugin InAppBrowser
>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 was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2014-01-07 Thread Jan-Dirk Schuitemaker (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864326#comment-13864326
 ] 

Jan-Dirk Schuitemaker commented on CB-3397:
---

Also wondering if there is any progress on this? I think this would be a very 
nice feature to have.

> 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
>  Components: Plugin InAppBrowser
>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 was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-11-07 Thread Vincas Dargis (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815777#comment-13815777
 ] 

Vincas Dargis commented on CB-3397:
---

This would be very nice feature. Is there any progress on this?

> 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
>  Components: Plugin InAppBrowser
>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 was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-07-03 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699167#comment-13699167
 ] 

Andrew Grieve commented on CB-3397:
---

Two more thoughts about this:
1. We may want to throw "right" into the mix so that it will resize nicely on 
rotations ("bottom too?")
2. It really is a bit of a stretch that window.open() is the API we're using 
for InAppBrowser. It might make sense to create a custom 
cordova.plugins.inappbrowser.open() API that has a more sane argument format. 
Not saying we jump to that immediately, but I think it would make sense to 
parse the key/value pairs out of the string on the JS side instead of on the 
native side of the exec bridge. That way each native implementation doesn't 
have to re-implement the parsing logic of the API.

> 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


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-07-03 Thread David Kemp (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698999#comment-13698999
 ] 

David Kemp commented on CB-3397:


OK- so I didn't know that.
top,left, width,height it is.

In this particular function, the arguments are not expected to be in a 
JSONarray. It is parsed into chunks broken by commas, then parsed into 
key-value pairs with '='. 


> 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


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-07-03 Thread Jan-Dirk Schuitemaker (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698973#comment-13698973
 ] 

Jan-Dirk Schuitemaker commented on CB-3397:
---

Wow, I have never seen that before. However, the 'definitive source' says that 
'top' is IE only.

> 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


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-07-03 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698961#comment-13698961
 ] 

Andrew Grieve commented on CB-3397:
---

Looking at the [definitive 
source|http://www.w3schools.com/jsref/met_win_open.asp] for the web :P, it 
looks like there is already a way to specify location & size via window.open: 
top, left, width, height.

We can also use the .moveTo() api for updating its position: 
[https://developer.mozilla.org/en-US/docs/Web/API/window.moveTo]

> 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


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-07-03 Thread Jan-Dirk Schuitemaker (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698904#comment-13698904
 ] 

Jan-Dirk Schuitemaker commented on CB-3397:
---

Isn't putting arguments in a JSONarray the preferred way of sending arguments 
to a function?

> 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


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-07-03 Thread David Kemp (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698892#comment-13698892
 ] 

David Kemp commented on CB-3397:


I'm ok with something like that, probably 
"pos-x=20,pos-y=20,width=200,height=350" to be consistent with other items, but 
it does mean you probably should do a bit more error checking to see that 
sensible combinations are supplied.
I guess I was pairing them up like objects... 

> 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


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-07-03 Thread Jan-Dirk Schuitemaker (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698758#comment-13698758
 ] 

Jan-Dirk Schuitemaker commented on CB-3397:
---

How about an optional parameter that is configured like this:

{"pos-x": 20, "pos-y": 20, "width": 200, "height": 350}

> 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


[jira] [Commented] (CB-3397) A way to control the width/height and x/y placement of the InAppBrowser UIWebView on the screen

2013-07-02 Thread David Kemp (JIRA)

[ 
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