我一直在尝试使用 Raphael JS 来定位 iframe
这是一些示例代码
var c = paper.circle(10, 10, 10); c.attr({href: " http://google.com/ ", target: "top"}); v
var t = paper.text(250, 50, "Raphaël\nkicks\nbutt!"); t.attr({href: " http://google.com/ ", 目标: "_blank"});
也..不能让href与文本一起工作 t = paper.text(50, 50, "Raphaël\nkicks\nbutt!"); t.attr({href: " http://google.com/ ", 目标: "_blank"});