Javascript 从iframe Phonegap在浏览器中打开链接
我使用PhoneGap3.3和angularjs构建了一个应用程序。 我在iframe中加载内容。 在这个iframe中,有很多链接可以打开应用程序中的pdf和html页面。 我想在新浏览器中打开链接。。 我试过用剪报器,但没用。 有解决办法吗 结构如下:Javascript 从iframe Phonegap在浏览器中打开链接,javascript,angularjs,cordova,iframe,phonegap-plugins,Javascript,Angularjs,Cordova,Iframe,Phonegap Plugins,我使用PhoneGap3.3和angularjs构建了一个应用程序。 我在iframe中加载内容。 在这个iframe中,有很多链接可以打开应用程序中的pdf和html页面。 我想在新浏览器中打开链接。。 我试过用剪报器,但没用。 有解决办法吗 结构如下: ... <iframe src="http://xxx.xx.xx.xx/test.html" > ... 在这方面有很多: ... <a href='javascript:void(0)' onclick=
...
<iframe src="http://xxx.xx.xx.xx/test.html" >
...
在这方面有很多:
...
<a href='javascript:void(0)' onclick='window.open(url,"_blank");'>text</a>
...
谢谢卡洛