- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I made a popup window that opens in app and closes after 3 seconds. I made it with window.open(); and Cordova In app Browser plugin cordova.InAppBrowser.open() and i'm not able to close any of these. Code is like this:
var win = cordova.InAppBrowser.open(URL, '_blank', 'location=no'); setTimeout(function(){ win.close(); }, 3000);
Also inserted the close() function into the target loaded file and still not closing.
Any help here?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this in the emulator or on a device? I found the same problem when running in the emulator, but it worked on an android device, both in the debugger and as a built app.
I'll see what I can do about the emulator problem.
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dale Schouten (Intel) wrote:
Is this in the emulator or on a device? I found the same problem when running in the emulator, but it worked on an android device, both in the debugger and as a built app.
I'll see what I can do about the emulator problem.
Dale
Thanks for the reply. Cleaned the code a bit tonight and seems to be working. Only on built app for now.
Sorry I wasted your time.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page