【问题标题】:Target iframe Raphael Js目标 iframe Raphael Js
【发布时间】:2011-01-30 12:32:29
【问题描述】:

我一直在尝试使用 Raphael JS 定位 iframe

这里有一些示例代码

var c = paper.circle(10, 10, 10); c.attr({href: "http://google.com/", 目标: "top"}); v

var t = paper.text(250, 50, "Raphaël\nkicks\nbutt!"); t.attr({href: "http://google.com/", 目标: "_blank"});

另外..无法让 href 处理文本 ar t = paper.text(50, 50, "Raphaël\nkicks\nbutt!"); t.attr({href: "http://google.com/", 目标: "_blank"});

【问题讨论】:

    标签: text href javascript target raphael


    【解决方案1】:

    经过一段时间的思考

    c.node.onclick = function load2 (iframe1URL, iframe2URL) { parent.iframe1.location.href='page1.htm' parent.iframe2.location.href='page2.htm'

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-09-22
      • 2012-04-01
      • 1970-01-01
      • 2013-06-17
      • 2013-08-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多