2010-03-22 38 views
0

伊夫一直試圖使用聖拉斐爾JS到目標的iframe目標的iframe聖拉斐爾的js

繼承人一些示例代碼

變種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/」,target:「_blank」});

Also..cant href to work with text ar t = paper.text(50,50,「Raphaël\ nkicks \ nbutt!」); t.attr({href:「http://google.com/」,target:「_blank」});

回答

1

花一點時間去思考它

c.node.onclick =功能LOAD2(iframe1URL,iframe2URL){ parent.iframe1.location.href = 'page1.htm' parent.iframe2後。 location.href ='page2.htm'