【发布时间】:2010-11-05 02:59:31
【问题描述】:
我正在使用谷歌小工具“rss tabber”http://www.gmodules.com/ig/creator?synd=open&url=http%3A%2F%2Fclingman.org%2Fplatypus%2Fcustomized-rss-feeds.xml&lang=en
我尝试使用 jquery 强制所有链接在新窗口中打开,但失败了。有人建议如何做到这一点?强制所有链接在新窗口中打开?
$('a[href^="http://"]') .attr({ 目标:“_blank”, 标题:“在新窗口中打开” });
【问题讨论】:
标签: javascript jquery html google-gadget