-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Good morning, i have a problem opening a new tab on safari browser with iphone and ipad (versione zk 8.6.2 EE).
for example, this code:
String script = "var popup = window.open('http://www.g**gle.it', \"_blank\");"; Clients.evalJavaScript(script);
on windows and android open new tab on browser, but on ios doesn't work
Many developers have the same problem not just in ZK. it seems ios doesn't allow that. See:
https://stackoverflow.com/questions/50079636/window-open-doesnt-work-on-safari-ios
The workaround is to render a link the user has to click in order to open the tab/window in a _blank target.
<a href="http://www.g**gle.it" target="_blank"/>
Sorry for no better alternative... there's no negotiation against browser limitations.
Asked: 2019-07-26 23:36:15 +0800
Seen: 8 times
Last updated: Jul 30 '19
[ZK8.6 Preview] New media components coming soon!
Bug in Datebox with lenient=false and value 01.04.1981?
javascript cannot catch id of zul component. Please help.
failed to utilize getTop(), getLeft() on div(component). Please help.
Serving zul files from a directory outside web application