`
ggsonic
  • 浏览: 259360 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

phonegap external link target blank

 
阅读更多
if you want to open external links, there are two ways:
1. Use the ChildBrowser plugin to launch your links and you can even come
back to your app:

https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/Child...

2. Or you could add a rel attribute to explain that you are linking out of the
page you are on as this clears the Ajax call in the DOM. Here's an example:

<a href="http://www.visualizetheweb.com" data-icon="back"
rel="external">Link to a Web Page</a>

i think we should avoid using <a target="_blank" ...> in all situation.
more info :http://groups.google.com/group/phonegap/browse_frm/thread/7815d5e103fc18ac/a3ba58b1002af281?#a3ba58b1002af281
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics