Answered by:
load popup in webview

Question
-
hi,
I want to load load link on x-ms-webview.i can load the site but its popup not showing in webview.mylink contains index page with facebook login popup.how to open popup in windows store apps ?
Any help would be appreciated
Saturday, August 23, 2014 12:01 PM
Answers
-
No, windows 8.1 webview does not support this, window.open() with _blank parameter will let the system open IE browser.
If your user wants to login with facebook, use facebook api is necessary. See this for more information: https://github.com/Thuzi/facebook-winjs-sdk, a sample could also be found there by using Web Authentication Broker.
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Marked as answer by Jamles HezModerator Friday, August 29, 2014 11:24 AM
Monday, August 25, 2014 5:02 AMModerator
All replies
-
Hi suganthe,
What do you mean by popup here, could you provide some screenshots for a better understanding?
As I know Windows Store App does not support some feature like window.alert, window.prompt, window.confirm, could you validate if the page use these things?
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.Monday, August 25, 2014 2:10 AMModerator -
hi james,
we are using following method to open facebook login popup.
window.open("http://www.somedomain.com""_blank", " top=500, left=500, width=400, height=400")
is windows 8.1 webview support this?
Monday, August 25, 2014 4:45 AM -
No, windows 8.1 webview does not support this, window.open() with _blank parameter will let the system open IE browser.
If your user wants to login with facebook, use facebook api is necessary. See this for more information: https://github.com/Thuzi/facebook-winjs-sdk, a sample could also be found there by using Web Authentication Broker.
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- Marked as answer by Jamles HezModerator Friday, August 29, 2014 11:24 AM
Monday, August 25, 2014 5:02 AMModerator -
Thanks JamesMonday, August 25, 2014 12:56 PM