Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 从iframe Phonegap在浏览器中打开链接_Javascript_Angularjs_Cordova_Iframe_Phonegap Plugins - Fatal编程技术网

Javascript 从iframe Phonegap在浏览器中打开链接

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=

我使用PhoneGap3.3和angularjs构建了一个应用程序。 我在iframe中加载内容。 在这个iframe中,有很多链接可以打开应用程序中的pdf和html页面。 我想在新浏览器中打开链接。。 我试过用剪报器,但没用。 有解决办法吗

结构如下:

...
   <iframe src="http://xxx.xx.xx.xx/test.html" >
...
在这方面有很多:

... 
   <a href='javascript:void(0)' onclick='window.open(url,"_blank");'>text</a> 
...
谢谢卡洛