- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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?
- Теги:
- HTML5
- Intel® XDK
Ссылка скопирована
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
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.

- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати